Control local git repo from command line

  • by

Display the current status

git status .

Add all changes to the commit

git add .

Commit changes

git commit -m "implemented first user login routes and further developed teh code"

Push to the master repo

git push origin master

Checkout from remote repo

git clone git@gitlab.com:/path/project_name.git