Difference between revisions of "Git switch main"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
[[git switch]] main | [[git switch]] main | ||
− | |||
− | |||
Switched to branch 'main' | Switched to branch 'main' | ||
[[Your branch is behind]] '[[origin/main]]' by 2 commits, and can be [[fast-forwarded]]. | [[Your branch is behind]] '[[origin/main]]' by 2 commits, and can be [[fast-forwarded]]. |
Latest revision as of 08:03, 9 July 2024
git switch main Switched to branch 'main' Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch)
See also[edit]
git switch
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: