私は git をローカルのソース管理システムとして、主に履歴と差分の追跡に使用しています。リベースを使用して、定期的に作成する WIP コミットで修正/スカッシュを実行したいと考えています。私がやろうとするとgit rebase -i
、次のようになります。
There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-rebase(1) for details
git rebase <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> MyBranch
アップストリームのリモートなしでインタラクティブなリベースを使用することをgitが期待していないようですか? それ、どうやったら出来るの?