Basic GIT commands

Git command line is easy. Too easy in fact once you understand it. After fiddling with multiple resources, I found these to be the simplest commands to get the job done. Here it is!

Clone a git repo locally
$ git clone <url>

Update an existing cloned repo
$ git pull

Add a new file to the git repo
$ git add <filename>
$ git commit -m <message> <filename>
$ git push

For more: https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html 

Popular posts from this blog

Installing Python Boto3 for AWS on MacOS

Installing CloudCustodian for AWS