
请问下
git merge 的默认行为是什么呢,后面不加分支
是 git merge origin/current_branch 吗
用 fetch + merge 感觉是这样的
一直没查到这个。。。
1 flniu Mar 16, 2017 git help merge "If no commit is given from the command line, merge the remote-tracking branches that the current branch is configured to use as its upstream. See also the configuration section of this manual page." |
3 blackywkl Mar 16, 2017 直接 git merge 不加任何参数的话,会将当前分支的上游分支合并进来的 |