Difference between revisions of "Git/checkout"
< Git
Jump to navigation
Jump to search
(Created page with "==About== The '''git checkout''' command allows you to switch {{l/same|branch}}es. If you've got incomplete changes you want to set aside before switching branches, use '''git...") |
m |
||
Line 1: | Line 1: | ||
==About== | ==About== | ||
− | The '''git checkout''' command allows you to switch {{l/same|branch}}es. If you've got incomplete changes you want to set aside before switching branches, use '''git {{l/same|stash}}'''. | + | The '''git checkout''' command allows you to switch {{l/same|branch}}es. If you've got incomplete changes you want to set aside before switching branches, use '''<code>git {{l/same|stash}}</code>'''. |
==Links== | ==Links== | ||
===Reference=== | ===Reference=== | ||
* [https://git-scm.com/docs/git-checkout git-checkout] - Switch branches or restore working tree files | * [https://git-scm.com/docs/git-checkout git-checkout] - Switch branches or restore working tree files |
Revision as of 17:09, 19 May 2018
About
The git checkout command allows you to switch branches. If you've got incomplete changes you want to set aside before switching branches, use git stash
.
Links
Reference
- git-checkout - Switch branches or restore working tree files