-
-
Notifications
You must be signed in to change notification settings - Fork 112
v0.6.0 #653
-
To install or update git-branchless, run the following:
$ cargo install --locked git-branchless
$ git branchless init # in your repository
If you were using a remote main branch, you will have to switch to a local main branch, as remote main branches are no longer supported; see below.
If you haven't already taken the user survey, please consider doing so!
Release highlights
- Changes to branching:
- We now use "switch" instead of "checkout" as the terminology, and the alias
git swis installed by default instead ofgit co. Thanks to @mlcui-google for fixing a bug in this! - Remote main branches are no longer supported.
- Branches will be automatically checked out when switched to. Thanks to @bcspragu for implementing this!
- We now use "switch" instead of "checkout" as the terminology, and the alias
- More customizable smartlogs:
- You can now render different views of the smartlog, possibly omitting commits and branches at your discretion. Thanks to @claytonrcarter for implementing this!
- Merge commits are also rendered slightly better.
git test:- Lets you run a given command or check on each commit in your stack.
- You can leave feedback about the UI or workflow in the discussion board or Discord chat.
- Documentation at Command: git test.
Changelog
Added
- (Create
git testcommand #576 ) EXPERIMENTAL: Createdgit testcommand to run a command on each commit in your stack. - (feat(sync): pull from remote main branch #589 , fix(sync): fix syncing commit stacks built on local main branch #593 )
git sync --pullrebases the local main branch on top of the remote main branch. - (feat(smartlog): Support for rendering a sparse smartlog #619 )
git smartlognow renders revsets with non-contiguous commits. - (Better rendering of merge commits in smartlog #638 )
git smartlognow deduplicates merge commits which appear in the smartlog.
Changed
- (Add support for interactively checking out a branch #526 ) BREAKING: When checking out a commit with a single branch attached to it, that branch will also be checked out.
- (feat(sync): pull from remote main branch #589 ) BREAKING: Remote main branches are no longer supported. To upgrade you'll need to create a local main branch which tracks the remote main branch. You can use
git syncto keep it up-to-date. - (feat(revset): Add
rewrittenrevset function #571 ) Addedcurrent(<revset>)revset function to determine the latest versions of a set of rewritten commits. - (Create
public(),main()revset functions #582 ) Addedmain(),public()revset functions. - (fix(sync): fix syncing commit stacks built on local main branch #593 , feat(submit): show more detailed summary after pushing #608 )
git syncproduces more descriptive output.
Fixed
- (Improvements to
git init#588 )git branchless initnow works when invoked in a worktree. - (feat(sync): pull from remote main branch #589 )
git reword --force-rewriteno longer moves remote-tracking branches. - (feat(sync): pull from remote main branch #589 )
git smartlogno longer uses 100% CPU in certain cases with remote main branches (because remote main branches are no longer supported).
New Contributors
Thanks to the following first-time contributors!
- @bcspragu made their first contribution in Add support for interactively checking out a branch #526
- @mlcui-google made their first contribution in feat(switch): change
--branchto--create#626
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.
This discussion was created from the release v0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1 -
❤️ 1
Replies: 1 comment 1 reply
-
Thanks for the update, I really how fast this can rebase branches. Any chance on a binary release for this version?
Beta Was this translation helpful? Give feedback.
All reactions
-
You can find binaries for the upcoming v0.7.0 here: https://github.com/arxanas/git-branchless/releases/tag/v0.7.0-rc.1
Beta Was this translation helpful? Give feedback.