Git/checkout: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
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..." |
mNo edit summary |
||
| 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
