#Transfer branch to another branch probably
1 messages · Page 1 of 1 (latest)
That's called merging
yes, I want to merge without getting any errors
Too bad
is it just the scene file that is conflicting
1st branch => 1 2 3 4
2nd branch => 5 6 7 8
// do smth to transfer everything from 1st branch to 2nd
2nd branch => 1 2 3 4
imagine that those numbers are commits
Then delete "2nd branch"
just tranfer everything
git branch --force prototype [hash] will change the commit that a branch points to.
you can also delete the branch and then recreate it
yeah, I think I gonna to it
but now it throws error
git branch -d prototype
error: Cannot delete branch 'prototype' checked out at 'X:/Projects/UNITY/TypingGame'
because it's checked out, yes
I see
Switch to a different branch, then delete it
Can't lift a bucket that you're standing in
(or to literally any other commit)
yeah
even the same commit
I have deleted branch prototype and then copied everything to new prototype branch
i would not say you "copied everything" or "transfered everything"
you changed where prototype points
maybe I did
thank you both for your help and time, I really appreciate it!