Git: upstream
Jump to navigation
Jump to search
--set-upstream[edit]
git push --set-upstream
git push --set-upstream origin master
git push --set-upstream origin feature/newbranch
--set-upstream-to[edit]
git branch --set-upstream-to=origin/main main
git branch --set-upstream-to=origin/<branch> main
--unset-upstream[edit]
Related error: Your branch is based on 'XXXX', but the upstream is gone.
Related[edit]
See also[edit]
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
- Git: upstream
Advertising: