Git basic commands
1 min readFeb 25, 2018
- git init — To initialize git repo.it creates .git folder
- git add * — To stage changes.This will add a cache of files to be committed
- git commit -m <msg> — To create a commit.This create a hash tag for files added
- git push — publish to remote repo. This will take your local changes and publish to remote repo.. note that you need a remote repo for this.
This article will be continued with more commands and crisp details