Difference between revisions of "Git switch main"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} == See also == * {{git switch}} * {{git branch}} Category:Git") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | [[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) | ||
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: