标签:配置 mode tco lse code user global repos lob
需要两步操作
git branch --set-upstream-to=origin/yewu yewu git config --global push.default "upstream"
作完这两个步骤,会出现一下问题
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = xxxxxxxxnf.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "yewu"] remote = origin merge = refs/heads/yewu
/userhome/.gitconfig
[push]
default = upstream
该配置为全局配置
标签:配置 mode tco lse code user global repos lob
原文地址:https://www.cnblogs.com/leleyao/p/12519031.html