Git: upstream
(Redirected from --set-upstream)
Jump to navigation
Jump to search
--set-upstream
git push --set-upstream
git push --set-upstream origin master
git push --set-upstream origin feature/newbranch
--set-upstream-to
git branch --set-upstream-to=origin/main main
git branch --set-upstream-to=origin/<branch> main
--unset-upstream
Related[edit]
See also[edit]
git push
[-v
|--set-upstream | -o | --set-upstream origin master
|-u origin main
|origin master
|-u origin master
|--delete master
|-u | origin HEAD | --dry-run
], Git: upstream,git push --force
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: