gt track / gt untrack¶
Start or stop tracking branches in the stack.
Track¶
Usage¶
Arguments¶
| Argument | Description |
|---|---|
[branch] |
Branch to track (default: current) |
Options¶
| Option | Description |
|---|---|
--parent <branch> |
Set the parent branch |
Examples¶
Track an existing branch:
Untrack¶
Usage¶
Arguments¶
| Argument | Description |
|---|---|
[branch] |
Branch to untrack (default: current) |
Examples¶
Stop tracking a branch (keeps Git branch):
When to Use¶
Track: When you have an existing branch you want to include in a stack.
Untrack: When you want to remove a branch from Stack's tracking without deleting the Git branch.