I keep getting errornon-fast-forward update when trying to pull. From a debug session, I saw that in https://github.com/src-d/go-git/blob/master/worktree.go#L89master is actually returned and this causes issues when determining if we are in a fast forward situation.
Can someone help debug this issue and/or suggest how to proceed?
I'm trying to open a local repo and pull it. I want to checkout a specific branch identified by the var
branch
. I'm doing the following:I keep getting error
non-fast-forward update
when trying to pull. From a debug session, I saw that in https://github.com/src-d/go-git/blob/master/worktree.go#L89master
is actually returned and this causes issues when determining if we are in a fast forward situation.Can someone help debug this issue and/or suggest how to proceed?