gert icon indicating copy to clipboard operation
gert copied to clipboard

Add force argument to git_branch_create

Open M-Kusumgar opened this issue 1 year ago • 1 comments

We would like to create a branch with a particular ref and if it exists then we would like to overwrite it. libgit2::git_branch_create has a force arg that already replicates this behaviour so would just be a case of adding the force arg to the gert::git_branch_create. I am happy to do a PR on this if you don't mind me adding this into gert!

M-Kusumgar avatar Sep 24 '24 11:09 M-Kusumgar

Yes, you can add a PR, thanks

jeroen avatar Sep 24 '24 11:09 jeroen