gt checkout¶
Switch to a specific branch.
Usage¶
Arguments¶
| Argument | Description |
|---|---|
<branch> |
Name of branch to checkout |
Examples¶
Checkout by Name¶
Checkout Trunk¶
Behavior¶
Checks out the specified branch. Works with both tracked and untracked branches.
Fuzzy Matching¶
Stack supports partial branch names:
If multiple branches match, you'll be prompted to select one.