mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 19:37:39 +03:00
Add instructions for migrating other projects to 'main'
parent
a3a1042053
commit
036a63de04
@ -24,3 +24,13 @@ These steps are:
|
||||
See
|
||||
[Contributing.md](https://github.com/EDCD/EDMarketConnector/blob/main/Contributing.md)
|
||||
for an outline of the other branches we use.
|
||||
|
||||
## Migrating your own project from 'master' to 'main'
|
||||
|
||||
We followed the instructions at https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx
|
||||
, which boil down to:
|
||||
|
||||
1. `git checkout master`
|
||||
1. `git fetch origin`
|
||||
1. `git branch -m master main`
|
||||
1. `git push -u origin main`
|
||||
|
Loading…
x
Reference in New Issue
Block a user