Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最新のコードでリベースしていなければ、(通常の)gitでプッシュできないのが好きです。ただし、git svnでは、git svn dcommitを実行すると、自動的にリベース(つまり、git svn rebase)してから、コミットします。リベースする新しいものがある場合にエラーメッセージをスローさせる方法はありますか?
とんでもない。探しているとおりにチェックを行った直後、実際に何かをコミットする直前に、誰かがコミットする可能性は常にあります。gitが自動的にリベースしないことをほぼ確実git svn fetchにするために、毎回実行してください。git svn dcommit
git svn fetch
git svn dcommit