Browse Source

master -> main

windhamdavid 2 years ago
parent
commit
2b15d5d8bb
2 changed files with 17 additions and 1 deletions
  1. 5 0
      README.md
  2. 12 1
      docs/editors/git.md

+ 5 - 0
README.md

@@ -6,6 +6,11 @@
 
 ## Notes: 
 
+#### 23.02.11
+
+- mv master to main
+- migrate to [woozie](https://davidawindham.com/til/docs/computers/woozie/)
+
 #### 22/11/13
 
 - upgraded to v.2.2.0

+ 12 - 1
docs/editors/git.md

@@ -1,7 +1,18 @@
 # git
 * [https://git-scm.com/](https://git-scm.com/)
 
-#### notes:
+### Notes:
+
+Migrate Master to Main 
+
+```bash
+git branch -m master main
+gpom ( git push origin main )
+git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
+git push origin --delete master
+git push code --delete master
+
+```
 
 Sparse checkout
 * [https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/](https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/)