mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Adds `$FORGIT_SWITCH_AUTO_CREATE_BRANCH` and `$FORGIT_CHECKOUT_BRANCH_AUTO_CREATE_BRANCH` environment variables that can be set to `false` to prevent `checkout_branch <BRANCH_NAME>` and `switch_brach <BRANCH_NAME>` from creating new branches when they do not exist. With the environment variables set to `false`, new branches can still be created explicitly using `switch_branch -c <BRANCH_NAME>` and `<checkout_branch> -c <BRANCH_NAME>` respectively. |
||
|---|---|---|
| .. | ||
| branch-helpers.test.sh | ||
| checkout-branch.test.sh | ||
| clean-select-files.test.sh | ||
| empty-state.test.sh | ||
| fzf.test.sh | ||
| helper-functions.test.sh | ||
| is-submodule.test.sh | ||
| list-staged-files.test.sh | ||
| log.test.sh | ||
| pager.test.sh | ||
| parse-array.test.sh | ||
| preview-context.test.sh | ||
| restore.test.sh | ||
| show.test.sh | ||
| switch-branch.test.sh | ||
| working-tree-changes.test.sh | ||