VS
Как правильно исправить данную ситуацию?
Size: a a a
VS
DS
DS
DS
P
git branch имя_веткизатем откати локально мастер
git reset --hard HEAD^затем можешь переходить на свою ветку и продолжать работать
git checkout имя_ветки
VS
AK
P
AK
AK
P
P
AK
AK
VG
push с различающимся аргументом к --set-upstream ? попробовал разное, оно делает не то:$ git branch -t SBRF-4525
Branch SBRF-4525 set up to track local branch release-12.87.
$ git branch --set-upstream-to=SBRF-4525 SBRF-4525
warning: Not setting branch SBRF-4525 as its own upstream.
$ git branch --set-upstream-to=origin/SBRF-4525 SBRF-4525
error: the requested upstream branch 'origin/SBRF-4525' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
$ tail .git/config # хочется чтоб сразу как с 4444
[branch "SBRF-4444"]
remote = origin
merge = refs/heads/SBRF-4444
[branch "SBRF-4525"]
remote = .
merge = refs/heads/release-12.87
P
git push -u origin HEADчто несколько короче и без меняющихся аргументов (но сам это не тестировал)
VG
VG
VG