Git
Git is the Open source manager system which can be used GitHub. Let’s see commonly used Git commands.
Commands
- User information
git config credential.helper store
- initialize / clone
git init
git clone [url]
- remote add
git remote add origin [url]
#if 'already exist' error
git remote rm origin
- status
git status
- pull
git pull
- push
git add .
git commit -m '(comment)'
git push -u origin master
- log
git log
- checkout
git checkout (hash) .