git-toolbelt

A suite of useful Git commands that aid with scripting or every day command line usage

BSD-3-CLAUSE License

Stars
1.2K
Committers
14

Bot releases are hidden (Show)

git-toolbelt - Latest Release

Published by nvie 9 months ago

  • git-main-branch will now also recognize mainline 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-toolbelt - v1.9.0

Published by nvie over 1 year ago

  • 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
git-toolbelt -

Published by nvie over 1 year ago

  • Fix issue where the probe for "(g)realpath" can fail
git-toolbelt -

Published by nvie over 1 year ago

  • Hide possible warnings displayed by which on some platforms
git-toolbelt - v1.8.2

Published by nvie over 1 year ago

  • Fix the fix from 1.8.1, which broke some Linux distros.
git-toolbelt -

Published by nvie over 1 year ago

  • Fix to be compatible with coreutils 9.2+, which renamed realpathgrealpath
git-toolbelt - v1.8.0

Published by nvie over 2 years ago

  • 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
git-toolbelt - v1.7.1

Published by nvie almost 3 years ago

  • Add -m option to git-modified to only show locally modified files
  • Fix: make git-merges-cleanly work when there are skipped files
git-toolbelt - v1.7.0

Published by nvie over 3 years ago

  • New command: git-cleave to split a commit by file paths
git-toolbelt - v1.6.0

Published by nvie over 3 years ago

  • 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!)

git-toolbelt - v1.5.1

Published by nvie about 4 years ago

  • Fixes an issue where git-local-branches could report "HEAD detached at ..." message (#44, thanks @asford!)
git-toolbelt - v1.5.0

Published by nvie about 4 years ago

  • 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
git-toolbelt - v1.4.2

Published by nvie over 4 years ago

  • Support git-active-branches on Windows (thanks @ernstki!)
git-toolbelt - v1.4.1

Published by nvie over 4 years ago

Added LICENSE

git-toolbelt - v1.4.0

Published by nvie over 4 years ago

New commands:

  • git-skip
  • git-unskip
  • git-show-skipped

Deprecated commands:

  • git-assume (use git-skip now)
  • git-unassume (use git-unskip now)
  • git-show-assumed (use git-show-skipped now)
  • git-cleanup-squashed (use git cleanup -s now)
git-toolbelt - v1.3.0

Published by nvie almost 5 years ago

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)
git-toolbelt - v1.2.4

Published by nvie almost 5 years ago

  • Added new utility git-cleanup-squashed which can detect and clean up branches that have been squashed-merged into master (thank you, @jonathanchu)!
git-toolbelt - v1.2.3

Published by nvie over 5 years ago

New script:

  • Add git-branches-containing, returning a list of branches containing the specified commit (thanks @RMGiroux!)

Improvement:

  • Make git sha work without further arguments (thanks @RMGiroux!)
git-toolbelt - v1.2.2

Published by nvie over 5 years ago

Bugfixes:

  • Make git-fixup not use --no-verify by default and instead respect existing pre-commit hooks
git-toolbelt - v1.2.1

Published by nvie over 5 years ago

  • Fix: don't verify when fixing up
  • Fix: autostash when rebasing interactively after fixups
  • Fix: docs for git-workon