src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 541 forks source link

Equivalent of `git worktree add -B <branch>` #1290

Closed sbourlon closed 4 years ago

sbourlon commented 4 years ago

What would be the equivalent of git worktree add -B <branch>? Thanks for this great library!

sbourlon commented 4 years ago

According to https://github.com/src-d/go-git/blob/master/COMPATIBILITY.md, this is not supported.