GIT常用命令

//1、config user
git config user.name "yourname"
git config user.email "youremail"
git config credential.helper store


//2、delete remote branch
git push origin --delete <branchName>


//3、delete tag
git tag -d 标签名


//4、delete remote tag
git push origin --delete tag <tagname>


//5、ignore local change
git fetch --all

//6、update git after delete branchName
git fetch -p

//7 show all branch

git branch

原文地址:https://www.cnblogs.com/olmlo/p/5163509.html