2

Gitlab API Commit

This I know but can't find an API to upload a whole folder containing various js, CSS and HTML files into gitlab repo.

bn4t
  • 1,448
  • 1
  • 11
  • 23
Gaurav Kumar
  • 55
  • 15

1 Answers1

-3

Does this help? How do I add files and folders into GitHub repos?

git add <folder>/*
git commit -m "<Message>"
git push

I often use git add -A to add all modified files. But should use git status before and after adding to make sure you see which files have been added before committing.

Justin Wilson
  • 330
  • 3
  • 17