+3 votes
in General IT Tips by (71.8k points)
How can I push all files from a local directory on my laptop to Gitlab repository using command line?

1 Answer

+1 vote
by (353k points)
selected by
Best answer

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

Related questions

+2 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer