Git 使用记录

来源:互联网 发布:av淘宝地址更新 编辑:程序博客网 时间:2024/06/10 14:44
  1. push本地分支到远程分支 git push <远程主机名> <本地分支名>:<远程分支名>
    注意,冒号左右两边不能有空格,否则会报如下错误:
    $ git push origin feature_20170720 : feature_20170720error: dst ref refs/heads/feature_20170720 receives from more than one src.error: failed to push some refs to 'git@git.zlp1992.com:test/test.git'