摘要: 已经有远程分支,在本地检出,并且关联到远程分支 git checkout --trach origin/远程分支名 git checkout -b 本地分支名 origin/远程分支名 没有远程分支,本地有一个分支,要推送到远程 git push --set-upstream origin 分支名 阅读全文
posted @ 2019-04-05 17:15 413Xiaol 阅读(203) 评论(0) 推荐(0)
摘要: git config --global alias.lg 'log --oneline --all --graph --decorate' 阅读全文
posted @ 2019-04-05 15:56 413Xiaol 阅读(138) 评论(0) 推荐(0)