git tricks

https://stackoverflow.com/questions/9339429/what-does-cherry-picking-a-commit-with-git-mean 从其他分支读取单个文件

git co branch -p

本来我以为是 git cherry-pick,但是显然 cherry-pick 和我想的不一样 Push 到远端不同名字的分支

git push origin local-name:remote-name

https://github.com/jiffyclub/blog-posts/blob/master/git-pushing-to-a-remote-branch-with-a-different-name.md Like Be the first to like this

About 逸飞

后端工程师

发表评论

电子邮件地址不会被公开。 必填项已用*标注