Difference between revisions of "Git checkout main"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} git checkout main")
 
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[git checkout]] [[main]]
 
  [[git checkout]] [[main]]
 +
error: Your local changes to the following files would be overwritten by checkout:
 +
terraform/you_code.tf
 +
Please commit your changes or stash them before you switch branches.
 +
Aborting
 +
 +
 +
 +
{{git checkout}}

Revision as of 14:39, 6 February 2023

git checkout main
error: Your local changes to the following files would be overwritten by checkout: 
	terraform/you_code.tf
Please commit your changes or stash them before you switch branches.
Aborting


git checkout [ -b | master | main | -f ]

Advertising: