SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
806 stars 165 forks source link

Need help with Sync/Pull from current working branch #152

Open R3D9477 opened 3 years ago

R3D9477 commented 3 years ago

Hello. I'm have 'main' as the default branch in my repo, and origin/HEAD is the last commit in a 'main' branch. So, when I've pushed last changes by UE4GitPlugin, they were hit into my working branch.

But, if when I tried to Pull/Sync last changes by UE4GitPlugin, it pulled changes from origin HEAD (master) branch.

Also I've did this:

git checkout MyWorkingBranch
git remote set-head origin MyWorkingBranch
git symbolic-ref HEAD refs/heads/MyWorkingBranch
git push --set-upstream origin MyWorkingBranch

But nothing changed. It tried to get last changes from the 'main' branch as before, not from the current working branch.

What I'm doing wrong? Is it possible to force git & UE4 Git Plugin force to pull last changes from the specific remote branch?

Thanks!