+2 votes
in General by (15.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 (25.6k 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

Related questions

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