+1 vote
in General by (11.2k points)
How can I push all files from a local directory on my laptop to Gitlab repository using command line?

1 Answer

0 votes
by (17k points)
edited by

Here are the git commands you need to type to push all the files in a folder on your local machine to Gitlab repository.

Change directory (cd) to the folder your have cloned and then type the following commands in the given sequence:

$ git add .
$ git commit -m "YOUR COMMIT MESSAGE"
$ git push origin master

...