1
mfanming OP 以下错误提示,看不懂...
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream baidu master:master Pushing to https://[email protected]/git/sanfei/new To https://[email protected]/git/sanfei/new ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://[email protected]/git/sanfei/new' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. |
2
mfanming OP 配置文件( config )
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly [remote "origin"] url = https://github.com/省略 fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [remote "baidu"] url = https://[email protected]/git/sanfei/new fetch = +refs/heads/*:refs/remotes/baidu/* |
3
mfanming OP 之前为百度效率云建立一个远程的时候,成功了。
第一次搞两个远程,安全第一啊,两处有备份 |