Ask A Question

View Question

Hello I am trying to setup a Raft based on GIT Repo. I got the following error msg if I want to add a script :

The branch 'otter' ("refs/heads/otter") that you are trying to push does not track an upstream branch.

I can't figure out where I have to setup git to "track an upstream branch" ...

Any help would be appreciate

Best Regards

Did you change the name of the branch after cloning? When cloned, branches should automatically track the remote branch.

One option is to navigate to the local GitRafts directory in the Execution.DefaultWorkingDirectory path (found in All Settings), and delete the local workspace and try again.

If you have git installed on the same server as Otter, you can manually configure the repo to track the remote branch using the commands outlined here: http://stackoverflow.com/a/2286030

Answer Question