diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-08-05 10:12:54 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-08-05 10:12:54 -0400 |
commit | 60d8b519d4d789b7fc863095b2a97078eb728fdd (patch) | |
tree | a0cca0bc83044ec25e85c381d4bafa958f0a21a5 | |
parent | 69ed3bb4dd1f55db15bf9798c04e06eaa78a632b (diff) | |
download | sr.ht-docs-60d8b519d4d789b7fc863095b2a97078eb728fdd.tar.gz |
Update git.sr.ht with branch renaming instructions
-rw-r--r-- | git.sr.ht/index.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md index 091efdd..803e614 100644 --- a/git.sr.ht/index.md +++ b/git.sr.ht/index.md @@ -69,3 +69,11 @@ option` or `-o option=value`. All of your push options, including ones not recognized by git.sr.ht itself, are forwarded to any webhooks you have configured for your repository. + +## Changing the default branch + +If you wish to change your default branch, visit the settings tab of your +repository. To rename your default branch, use something like the following: + + git branch -m master main + git push origin :master main:main |