There is no tracking information for the current branch

Hi,

I recently installed Powershell Universal and I’m trying to sync out local GitLab. Just created a new project and it is empty. When I try to sync I get an error below.

“Git synchronization failed. There is no tracking information for the current branch.”

What am I missing here?

Thanks,
Halukk

Product: PowerShell Universal
Version: 4.1.8

Is the remote empty or is it bare? As for the local PSU instance, have you made changes locally before trying to sync?

Yes the new project is empty. On Local PSU I had a folder and a test script but remove them and tried as well.

Hey Adam,

I was able to get the Github working but doesn’t seem like pull is working. I can create or delete a file in PSU and I can see changes in Github but when I create a file in git, I cannot see that file in PSU> Scripts. When I check the Settings>Git, I can see the file creation in history.

I’m also experiencing this on 3.10.2. I noticed git stopped syncing, realized my PAT expired, created a new one but when I entered in the new password the error changed to “Git synchronization failed. There is no tracking information for the current branch.” No changes to remote repository since the last successful sync, a few changes have been made and committed to the local PSU instance.