すべての git ユーザーはこれに慣れています:
> git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
しかし、最近、1 つではなく 2 つのリモート (heroku と github、かなり標準的な状況だと思います) を使用するようになり、git status
出力にオリジンが 1 つしか表示されないことに悩まされ始めました。
このようなものが表示されるように、他のリモコンを追加するにはどうすればよいですか?
> git status
On branch master
Your branch is up-to-date with 'origin/master'.
Your branch is up-to-date with 'heroku/master'.
nothing to commit, working directory clean
(この質問は、heroku や github とは関係ありません。単なる例です。)