Git学习总结

2018-05-30  本文已影响5人  旷野独狼

git 相关

将另一个分支的某次提交所做的更改合并过来

error: could not apply a968f8c1c3... [commit时的备注]
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

查看本地分支与远端分支的关联关系指令

git branch -vv

建立线上线下分支的关联关系

git branch --set-upstream-to=origin/[远端分支名] [本地分支名]

未完待续篇

上一篇 下一篇

猜你喜欢

热点阅读