hgit hub code example
Example 1: github
//cancel commits
git reset HEAD^
//cancel last 3 commits
git reset HEAD~3
//when first commit
git push -u origin master
//remove remote origin
git remote remove origin
//reset remote origin
git remote add origin https://github.com/yourname/project.git
git init
//add all
git add .
//cancel adds
git reset
Example 2: github
adding git remote origin
Example 3: github
git config --global user.email "[email protected]"