Skip to content

Instantly share code, notes, and snippets.

@johnmackintosh
Created March 14, 2023 11:33
Show Gist options
  • Select an option

  • Save johnmackintosh/3cc2f970838af947d3fb6ecb7d570531 to your computer and use it in GitHub Desktop.

Select an option

Save johnmackintosh/3cc2f970838af947d3fb6ecb7d570531 to your computer and use it in GitHub Desktop.

Revisions

  1. johnmackintosh created this gist Mar 14, 2023.
    4 changes: 4 additions & 0 deletions update-local-git.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    git branch -m master main
    git fetch origin
    git branch -u origin/main main
    git remote set-head origin -a