Global configuration
git config --global user.name "lewiscutey"
git config --global user.email "[email protected]"
git config --global push.default simple
clone an existing repository for development
git clone https://github.com/lewiscutey/JD.git
git
git status
git add *
git status
git commit -m 'test cli'
git push
Manage branches
git branch gh-pages
git checkout gh-pages
git merge master
git push
Common commands
git branch
git branch -a
git checkout .
git branch -d <branch_name>
git branch -D <branch_name>