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.
ローカル ブランチを持っていてtest、リモート ブランチからリベースしたいのですがtest、どうすればよいですか? 試してみgit rebase origin testましたが、少し前に誰かがプッシュした変更が私のローカルにリベースされていませんか?
test
git rebase origin test
origin/test最初にサーバーからデータをフェッチする必要があります (これはブランチには影響しませんが、リモートの変更でブランチを更新します)。
origin/test
git fetch
次に、リベースを実行できます
git rebase origin/test
ブランチをプッシュできるようになりましたtest
git push origin test