2012-06-14から1日間の記事一覧

git stash pop でコンフリクトが発生した時に stash の方を採用するには

以下のようなシナリオを想定してください。A氏が最初のコミットをして、中央リポジトリにpush: % echo 'ABC' > test.txt % git add test.txt % git commit -m '1st commit' % git pushB氏が2番目のコミットをして、中央リポジトリにpush: % git fetch % git …