Skip to content

Latest commit

 

History

History

advanced

進階篇

git stash
git stash list
git stash pop
git stash pop stash@{n}
git stash drop
git stash drop stash@{n}
git stash clear
git add -p
git checkout -p
git tag
git tag <tag name> <commit id>
git tag -a <tag name> <commit id>
git tag -a <tag name> <commit id> -m <msg1> -m <msg2>
git tag -a <tag name> <tag name>^{} -f
git tag -d <tag name>

git push <remote name> <tag name>
git push <remote name> --tags
git push <remote name> :<tag name>
git push -f <remote name> <tag name>
git submodule init
git submodule update
git submodule add <repo url> <project path>
git clone --recursive <repo URL>