您当前的位置: 首页 > 学无止境 > 心得笔记 网站首页心得笔记
40 禁止向集成分支执行变更历...
发布时间:2020-08-02 10:21:07编辑:雪饮阅读()
--set-upstream可以在本地当前所处分支没有关联到remote时直接指定远端的remote。
xy@DESKTOP-BG9HNHK MINGW64 ~/Desktop/web/moral (test34)
$ git push --set-upstream origin test34
Enumerating objects: 2, done.
Counting objects: 100% (2/2), done.
Delta compression using up to 12 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 576 bytes | 576.00 KiB/s, done.
Total 2 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:xueyin220807/moral.git
83698a6..c7ff8f9 test34 -> test34
Branch 'test34' set up to track remote branch 'test34' from 'origin'.
关键字词:git,--set-upstream,remote