Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

How to work with master branch #386

Closed
gonzaloserrano opened this issue May 9, 2017 · 1 comment
Closed

How to work with master branch #386

gonzaloserrano opened this issue May 9, 2017 · 1 comment
Labels

Comments

@gonzaloserrano
Copy link

Hi there,

I'm writing a little CLI tool to switch branches using go-git. I want to use the master version and use the worktree.Checkout(opts) feature, but I have some things I'm not understanding:

Note that i go geted both v4 and master versions and have both in my GOPATH.

Thanks a lot and congrats for this awesome lib.

@osklyar
Copy link

osklyar commented May 9, 2017

See #380, your problem is essentially the same. Clone master into $GOPATH/gopgk.in/src-d/go-git.v4 and it will compile or use a dependency manager to pull sources for gopgk.in/src-d/go-git.v4 from the master branch into vendor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants