随笔分类 - Git & Github
摘要:https://stackoverflow.com/questions/2765421/how-do-i-push-a-new-local-branch-to-a-remote-git-repository-and-track-it-too 5620 How do I: Create a local
阅读全文
摘要:https://stackoverflow.com/questions/5159185/create-a-git-patch-from-the-uncommitted-changes-in-the-current-working-directory Create a git patch from t
阅读全文
摘要:https://sdqweb.ipd.kit.edu/wiki/Git_pull_--rebase_vs._--merge Git pull --rebase vs. --merge This page briefly explains the difference between rebasing
阅读全文
摘要:https://www.jianshu.com/p/a8a2ac58f37d 适用场景: 比方说,你的代码已经提交到git库,leader审核的时候发现有个Java文件代码有点问题,于是让你修改,通常有2种方法: 方法1:leader 将你提交的所有代码 abandon掉,然后你回去 通过git r
阅读全文
摘要:https://backlog.com/git-tutorial/cn/stepup/stepup7_1.html 1. commit --amend 为了节省时间,这个教程使用现有的历史记录作为本地数据库。 从这里下载 我们将修改最近一次的提交。 首先进入stepup-tutorial/tutor
阅读全文
摘要:https://segmentfault.com/a/1190000020874232 在一些受管控的项目上,提交代码到 git 服务器后,还需要经过审核确认才正式合入版本,一般常用 gerrit 来进行审核确认操作。 如果提交的代码审核不通过,需要再次修改提交。由于是修改同一个问题,我们可能不希望
阅读全文
摘要:https://stackoverflow.com/questions/16239551/eol-conversion-in-notepad Asked 7 years, 1 month ago Active 8 months ago Viewed 151k times 112 18 For som
阅读全文
摘要:Creating and deleting branches within your repository You can create or delete branches directly on GitHub. In this article Creating a branch Deleting
阅读全文
摘要:https://help.github.com/en/desktop/contributing-to-projects/syncing-your-branch GitHub Desktop Contributing to projects Working with your remote repos
阅读全文