| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| git-branchless-v0.9.0-x86_64-apple-darwin.tar.gz | 2024-05-27 | 7.9 MB | |
| git-branchless-v0.9.0-x86_64-pc-windows-msvc.zip | 2024-05-27 | 6.4 MB | |
| git-branchless-v0.9.0-x86_64-unknown-linux-musl.tar.gz | 2024-05-27 | 9.7 MB | |
| README.md | 2024-05-27 | 4.8 kB | |
| v0.9.0 source code.tar.gz | 2024-05-27 | 537.8 kB | |
| v0.9.0 source code.zip | 2024-05-27 | 650.8 kB | |
| Totals: 6 Items | 25.2 MB | 0 | |
To install or update git-branchless, run the following:
$ cargo install --locked git-branchless
$ git branchless init # in your repository
Release highlights
- The Apache and MIT license files are now distributed with all
git-branchlesssub-crates as required. - Rust v1.74 or later is required to build.
- There are breaking changes to
git hideandgit sync; see below. - Broken support for native Windows/Powershell due to bad hook invocations was probably fixed.
- If this was affecting you, please comment on https://github.com/arxanas/git-branchless/issues/370 to confirm or refute.
- New
merges()andbranches()revset functions were introduced.
Changelog
See also the release notes for scm-record v0.3.0.
Added
- (#1129) Added a
--dry-runoption togit submitto report what would be submitted without actually doing so. - (#1130) Added
merges()revset function. - (#1130) The
branches()revset function now accepts an optional text pattern argument to limit which branches are matched. - (#1150) The
git recordcommand now accepts-s/--stashto return to the previous commit immediately after committing. - (#1167) The commit message for a new commit can now be written/edited during
git record --interactive. - (#1169)
git recordnow accepts multiple--messagearguments. - (#1184) An initial Github forge was implemented as
git submit --forge github, but it's too buggy for general use. - (#1241)
git smartlognow accepts--exactto skip renderingHEADand the main branch. - (#1244)
git submitnow accepts multiple arguments/revsets.
Changed
- BREAKING (#1128) Arguments/revsets passed to
git syncare now resolved to their respective stacks. - This allows
git sync my-branchto work as expected, instead of needing to usegit sync 'stack(my-branch)'. The behavior ofgit syncwhen called without arguments is not affected by this change. If you rely on the previous behavior, please usegit move -x <commit(s)/revset> -d 'main()'instead. - BREAKING (#1152) Previously,
git hidewould not delete branches pointing to the hidden commits unless-D/--delete-brancheswas passed. Now, deleting branches is the default behavior. Pass--no-delete-branchesto restore the old behavior. - BREAKING (#1292): The minimum supported Rust version (MSRV) is now 1.74.
- (#1204) The default instructions for
git rewordare now wrapped to 72 characters. - (#1230) The icon for omitted commits in the smartlog was changed from
⊘to◌.
Fixed
- (#1071) The Apache and MIT licenses are now distributed with each constituent crate, not just the top-level
git-branchlesscrate. - (#1072) The current branch is no longer detached during
git amendwhen the current commit has descendants. - (#1073) Merge commits can now be amended with
git amend. - (#1095) The event log is now shared between all worktrees. Before, commits that were made in one worktree wouldn't be visible in other worktrees, etc.
- (#1095)
git submitnow runs in worktree that you invoked it in. - (#1095)
git submit --forge phabricatorno longer records spurious commits whenarc diffing. - (#1127) Improved support for files with spaces in their name.
- (#1267) The correct "path" variable is now used on Windows, which fixes some cases of
git-branchlessfailing on native Windows.
Contributors
Thanks to everyone who made this release happen!
- @adzenith made their first contribution in https://github.com/arxanas/git-branchless/pull/1060
- @arxanas
- @avamsi made their first contribution in https://github.com/arxanas/git-branchless/pull/1050
- @bryango made their first contribution in https://github.com/arxanas/git-branchless/pull/1246
- @c00t made their first contribution in https://github.com/arxanas/git-branchless/pull/1267
- @claytonrcarter
- @jirutka made their first contribution in https://github.com/arxanas/git-branchless/pull/1285
- @martinvonz
- @mlcui-corp
- @snan made their first contribution in https://github.com/arxanas/git-branchless/pull/1126
- @willruggiano made their first contribution in https://github.com/arxanas/git-branchless/pull/1254
- @YakoYakoYokuYoku made their first contribution in https://github.com/arxanas/git-branchless/pull/1150
If you're interested in contributing, check out the Developer Guide in the Wiki, or post in the Discussions or Discord server to ask any questions.