I’ve been trying to find a way to either:
- Clone master, delete master
Or
- Rename master
The closest I’ve found is: libgit2sharp remove remote branch
I haven’t been able to find a way to accomplish the end result of a newly named master by either method.
I found this link helpful, but haven’t been able to translate it to LibGit2Sharp: Rename master branch for both local and remote Git repositories
Also, regarding that last link, this seems to try to address changing the upstream: Setting upstream on a repo
Any help on this would be greatly appreciated!
-Verxion