Open LiNk-NY opened 1 year ago
AFAICT, there is no git_remote_set_head operation. Could this be added?
git_remote_set_head
It would be nice for those that are renaming branches and need to update the HEAD.
HEAD
For example to avoid code like this:
system2("git", "remote set-head origin devel")
gert could provide:
gert
gert::git_remote_set_head("origin", "devel")
Thanks!
AFAICT, there is no
git_remote_set_head
operation. Could this be added?It would be nice for those that are renaming branches and need to update the
HEAD
.For example to avoid code like this:
gert
could provide:Thanks!