git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
SilentDepth
V2EX  ›  git

为什么 dcommit 后 SHA 会变? SVN 对我的代码做了什么?

  •  
  •   SilentDepth · Jul 30, 2015 · 2516 views
    This topic created in 4092 days ago, the information mentioned may be changed or developed.

    最近遇到了同时使用SVN和Git的场景(本地用Git,最终提交到项目的SVN仓库)。为了减少操作量想着用git svn,于是去看了Pro Git的相关章节,但没有理解为什么提交到SVN后这一次commit的SHA会变,是SVN的机制导致的吗?

    另外,对“尽量使用rebase而不是merge来处理要提交到SVN的分支”的原因也不是很明白。

    小白一只,望轻拍。

    PS: 有人说gitignore .svn是归宿?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3364 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 12:31 · PVG 20:31 · LAX 05:31 · JFK 08:31
    ♥ Do have faith in what you're doing.