User Tools

Site Tools


todo-git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
todo-git [2021/11/02 21:48]
dblume
todo-git [2021/11/14 00:23] (current)
dblume [Updating a local repo after remote's already renamed its branch]
Line 147: Line 147:
 <code bash> <code bash>
 git branch -m master main git branch -m master main
-git fetch origin+git fetch --all --prune
 git branch -u origin/main main git branch -u origin/main main
 git remote set-head origin -a git remote set-head origin -a
todo-git.1635914886.txt.gz ยท Last modified: 2021/11/02 21:48 by dblume