You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to clone a specific git repository I am getting an error updating head reference the following message:
"open .git/refs/heads/refs/heads/master: '.git/refs/heads/refs' does not exist"
The branch name that comes back from c.GetHeadBranch() is "refs/heads/master," which is being appended to "refs/heads" creating a path that doesn't exist within the git repository.
The text was updated successfully, but these errors were encountered:
When I try to clone a specific git repository I am getting an error updating head reference the following message:
"open .git/refs/heads/refs/heads/master: '.git/refs/heads/refs' does not exist"
The source of the error appears to come from cmd/reset.go around here:
https://github.com/driusan/go-git/blob/master/cmd/reset.go#L59
The branch name that comes back from c.GetHeadBranch() is "refs/heads/master," which is being appended to "refs/heads" creating a path that doesn't exist within the git repository.
The text was updated successfully, but these errors were encountered: