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とsourceTreeソフトウェアを使用しています。
いくつかの変更をコミットしました
私がやりたいのは、すべての変更をローカルの cancun_elad に保存し、リモートの cancun_elad にプッシュすることだけです。
しかし、プッシュしようとするとエラーが発生します:
ソースツリー:
最初に新しいブランチを作成します
git checkout -b mybranch
次に、既存のブランチのいずれかに切り替えます
git checkout cancun_elad
次に、古いブランチからの変更をマージします
git merge mybranch
次に、変更をリモートにプッシュします
git push origin cancun_elad