-
-
Save alvan/eed4c413effa2cb3fe4a17f5d6532330 to your computer and use it in GitHub Desktop.
Git 实用命令
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git 推送新的仓库 | |
git remote add origin git@github.com:luokr/doc.luokr.com.git | |
git push -u origin master | |
# Git 删除所有远程tags | |
git show-ref --tag | awk '/(.*)(\s+)(.*)$/ {print ":" $2}' | xargs git push origin | |
# Git 删除所有本地tags | |
git tag | grep "v" | xargs git tag -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment