- Fix: use main branch in
git-merged
(instead of hardcodingmaster
)
git-shatter-by-file
will still work when there are "skipped" files- Various internal shell script improvements
git-main-branch
will now also recognizemainline
as a main branch name, for users migrating from Perforce.git-shatter-by-file
will still work when there are "skipped" files- Various internal shell script improvements
- git-cleave will now prefix commit messages (instead of suffix them) wth the path matches it cleaves off
- git-cleave now takes a
-t <prefix>
flag, which will be used instead of the path matches - git-cleave will now prevent empty commits from being destroyed
- Fix issue where the probe for "(g)realpath" can fail
- Hide possible warnings displayed by
which
on some platforms
- Fix the fix from 1.8.1, which broke some Linux distros.
- Fix to be compatible with
coreutils
9.2+, which renamedrealpath
→grealpath
- New command:
git-diff-since
- New command:
git-sync-commit-date
git-cleanup
will now only remove branches after explicit-l
(local) or-r
(remote) flag
- Add
-m
option togit-modified
to only show locally modified files - Fix: make
git-merges-cleanly
work when there are skipped files
- New command:
git-cleave
to split a commit by file paths.
-
New command:
git-wip
. This will create quick save point commits for Work In Progress (WIP). This creates quick commits without writing a commit message. -
git-initial-commit
will now report the more user-friendly error "No commits yet" for an empty repo (#46, thanks @Shea690901 and @ernstki!) -
git active-branches
now supports a-s <date>
option (for--since
), where you can specify the threshold for what is considered "active" (#36, thanks @ernstki!)
- Fixes an issue where
git-local-branches
could report "HEAD detached at ..." message (#44, thanks @asford!)
- Add support for repos with a default branch named main (not master)
- Adds a new script git main-branch
- Drop deprecated scripts:
git-assume
git-unassume
git-show-assumed
git-cleanup-squashed
- Support
git-active-branches
on Windows (thanks @ernstki!)
- Added LICENSE
-
New commands:
git-skip
git-unskip
git-show-skipped
-
Deprecated commands:
git-assume
(usegit-skip
now)git-unassume
(usegit-unskip
now)git-show-assumed
(usegit-show-skipped
now)git-cleanup-squashed
(usegit cleanup -s
now)
- New commands:
git spinoff <new-branch> [<base>]
(inspired by Magit's spinoff command), will create a new branch from the current branch and will reset the current branch back to its upstream. Most useful when you have already committed work on master, but really wanted that to be a new local branch instead.git remote-tracking-branch [<branch>]
will print the name of the remote tracking branch of the current or given branch (if any)
- Added new utility
git-cleanup-squashed
which can detect and clean up branches that have been squashed-merged into master (thank you, @jonathanchu)!
-
New script:
- Add
git-branches-containing
, returning a list of branches containing the specified commit (thanks @RMGiroux!)
- Add
-
Improvement:
- Make
git-sha
work without further arguments (thanks @RMGiroux!)
- Make
- Bugfixes:
- Make
git-fixup
not use--no-verify
by default and instead respect existing pre-commit hooks
- Make
- Fix: don't verify when fixing up
- Fix: autostash when rebasing interactively after fixups
- Fix: docs for
git-workon
- New command:
git-fixup-with
- Fixes some bugs in
git-shatter-by-file
that happened when not called from the git root
- Add
git-separator
- Add
git-shatter-by-file
No changelog kept here yet.