* git-feature: add configurable branch separator Closes #1069 This allows the use of a separator other than `/` for feature or other alias branches. While a command-line option has been provided (`-s` or `--separator`), this will most often be used via `git-extras.feature.separator`. * Significant update to bin/git-feature - Changed option parsing so that `--alias` requires an argument and will fail with an error unless provided. Applied the same logic to `--separator`. - Changed `finish` parsing to capture it as a variable flag during argument parsing. This could be extended so that if `finish` is already true, a second `finish` results in the word being added to the argument list. ```console $ git feature -- finish remote $ git feature finish finish remote ``` This has not been done because it is a bit of an inconsistent handling for documentation purposes. - Add handling of `--` to permit options or `finish` to be made part of the feature branch name. - Since `finish` is now a variable flag, simplify the name-building logic to always use `concatargs "${argv[@]}"`. This means that `git feature finish ...` and `git feature ...` behave the same in terms of feature branch name building. - Basically rewrote the man page to include better descriptions of the options as well as adding a GIT CONFIG section and additional EXAMPLES for the new features/behaviour. |
||
|---|---|---|
| .github | ||
| bin | ||
| etc | ||
| helper | ||
| man | ||
| .editorconfig | ||
| AUTHORS | ||
| brew-release.patch | ||
| check_dependencies.sh | ||
| check_integrity.sh | ||
| Commands.md | ||
| CONTRIBUTING.md | ||
| History.md | ||
| install.cmd | ||
| install.sh | ||
| Installation.md | ||
| LICENSE | ||
| Makefile | ||
| need_git_commit | ||
| not_need_git_repo | ||
| Readme.md | ||
Git Extras
Little git extras.
Screencasts
Just getting started? Check out these screencasts:
- introduction (archive.org link) -- covers
git-ignore,git-setup,git-changelog,git-release,git-effortand more
Installation
See the Installation page.
Commands
Go to the Commands page for basic usage and examples.
GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
Contributing
Interested in contributing? Awesome!
Please read Contributing before you make a PR, thanks!
The change of the default branch
As of Git Extras 6.4 the assumed default branch name changed from master to main.
This affects the Git Extras commands git archive-file, git delete-merged-branches, git delta, git pull-request, git show-merged-branches, git show-unmerged-branches, and git squash.
To change the default branch name to master: change either the configuration git-extras.default-branch or init.defaultBranch to master; the former takes precedence.
For example, git config git-extras.default-branch master.