We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$ git checkout <branch>
using (var repo = new Repository("path/to/your/repo")) { var branch = repo.Branches[branchName]; if (branch == null) { // repository return null object when branch not exists return null; } Branch currentBranch = Commands.Checkout(repo , branch); }