删除tag

# 删除本地tag
git tag --delete tagName
# 删除远程tag
git push origin --delete tag tagName

删除分支

# 删除本地分支
git tag --delete branchName
# 删除远程分支
git push origin --delete  branchName

配置代理

vim ~/.gitconfig

[url "ssh://git@w.src.corp.xx.net"]
    insteadOf = https://w.src.corp.xx.net
[filter "lfs"]
    process = git-lfs filter-process
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
[init]
    defaultBranch = main
[user]
    name = xxx
    email = xxx@gmail.com
[http]
    proxy = http://127.0.0.1:1080
[https]

标签: 代理, git, tag, branch

添加新评论