Post on 08-Apr-2017
• git config --global user.name “your-user-name”
• git config --global user.email “your@email.address”
• git config --global core.editor “vim”
• git config --global --unset-all <parameter-to-cancel>
• Ex) git config --global --unset-all user.name
• mkdir localrepo
• cd localrepo
• git init
git add git commit
• git add file.name
• git add path/to/file.name
• git add .
git add -p
• git diff
• git diff --cached
• git status
• git reset HEAD “path/to/file”
• git commit
• git commit -m “commit message”
• git commit -a
git commit -v
• git reset --soft HEAD^
• git log
• git remote add origin https://your.remote/repository.git
• git push -u origin master
• git push
• git pull
• git pull origin master
• git clone https://your.remote/repository.git