Quite a lot of extras for git. git-release, git-ignore, git-setup, git-changelog, git-effort, and more.
git
Go to file
Austin Ziegler 49650eda62
git-feature: add configurable branch separator (#1072)
* 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.
2023-09-19 11:10:59 +08:00
.github Add typo checker 2023-06-19 21:51:53 +08:00
bin git-feature: add configurable branch separator (#1072) 2023-09-19 11:10:59 +08:00
etc feat: Implement git-get command (#1045) 2023-08-12 13:49:33 +08:00
helper fix: No longer pollute env with GREP_OPTIONS 2023-01-30 21:00:39 -08:00
man git-feature: add configurable branch separator (#1072) 2023-09-19 11:10:59 +08:00
.editorconfig tweak editor config (#1027) 2023-01-28 17:15:20 +08:00
AUTHORS Version 7.0.0 (#1040) 2023-04-24 22:03:26 +08:00
brew-release.patch chore: More Bash improvements and removing deprecations (#1016) 2023-01-10 08:59:43 +08:00
check_dependencies.sh updates per request of spacewander 2022-05-05 11:19:30 -04:00
check_integrity.sh tweak: Fix typos (#1046) 2023-05-18 10:19:24 +08:00
Commands.md feat: Implement git-get command (#1045) 2023-08-12 13:49:33 +08:00
CONTRIBUTING.md implement fish completions file 2020-07-27 15:45:37 +10:00
History.md Version 7.0.0 (#1040) 2023-04-24 22:03:26 +08:00
install.cmd read COMMANDS_WIHOUT_REPO from not_need_git_repo file 2019-12-09 17:13:56 +01:00
install.sh Switch from using /tmp to using mktemp 2019-09-05 12:41:45 +08:00
Installation.md Need bash 4.0+ (#1038) 2023-04-19 16:57:04 +08:00
LICENSE Mention initial copyright year and add contributors to copyright 2016-01-30 17:30:04 +05:30
Makefile Makefile: init SYSCONFDIR before using it (#1044) 2023-05-08 09:57:55 +08:00
need_git_commit git-back: removed 2020-08-28 22:23:41 +08:00
not_need_git_repo feat: Implement git-get command (#1045) 2023-08-12 13:49:33 +08:00
Readme.md readme: Add secondary location of screencast (#1065) 2023-08-29 19:37:54 +08:00

Git Extras

Little git extras.

Screencasts

Just getting started? Check out these screencasts:

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.