+1 vote
in General by (10.5k 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 (13.5k 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