Skip to content

Releases: abhinav/git-spice

v0.1.0-beta3

05 Jun 03:38
e895bac
Compare
Choose a tag to compare
v0.1.0-beta3 Pre-release
Pre-release

Added

  • branch submit: Populate default PR message with PR template, if found.

Changed

  • branch submit: Update an existing PR's draft status only if --draft or --no-draft flags are provided.

Fixed

  • branch submit: The --draft flag is no longer ignored. Whether a PR is draft or not will be changed on each submit.
  • {downstack, stack} submit: Don't change draft status of existing PRs. Use branch submit --[no-]draft to do that.
  • Fix issue where some operations printed rebase conflict message two or more times.
  • rebase {continue, abort}: Heal from external git rebase --continue or git rebase --abort and avoid running old rebase continuation commands.
  • branch checkout: Fix trunk branch not showing in branch selection prompt.

v0.1.0-beta2

01 Jun 23:30
2b81ce6
Compare
Choose a tag to compare
v0.1.0-beta2 Pre-release
Pre-release

Added

  • branch rename: Support renaming another branch by name with the branch rename <old> <new> form of the command.

Changed

  • (Breaking) Change shorthand for 'branch delete' to 'bd'.
  • (Breaking) Change shorthand for 'branch rename' to 'brn'.
  • rebase continue: Don't run continuations if a rebase wasn't in progress. This avoids unexpected behavior from lefotver state.
  • branch checkout: Prompt for picking a branch only shows tracked branches by default. Use -u/--untracked to also see untracked branches.
  • branch submit: Auto-detect PRs created outside git-spice, e.g. using the GitHub UI.

Fixed

  • repo sync: Fix failure if the worktree has uncommitted changes.
  • branch delete: Don't fail if the repository is in detached HEAD state.
  • branch delete: Fix repository left on the wrong branch if upstacks were restacked.
  • GitHub URL detection now respects non-standard URLs like GHES set via $GITHUB_URL.

v0.1.0-beta1

28 May 13:05
f2ac82c
Compare
Choose a tag to compare
v0.1.0-beta1 Pre-release
Pre-release

Added

  • Add gs rebase continue (alias gs rbc) and gs rebase abort (alias gs rba) to continue git-spice operations interrupted by rebase conflicts.
  • Add 'upstack onto' command to move a branch and its upstack onto a new base. This was previously the behavior of 'branch onto'.

Changed

  • branch {edit, onto}: Support continuing the operation after resolving conflicts with gs rebase continue.
  • {branch, upstack, stack} restack: Support continuing the operation after resolving conflicts with gs rebase continue.
  • (Breaking) branch onto: Extract only the commits of the target branch onto the new base. The upstack will be rebased to point to its base. Use 'upstack onto' to graft the entire upstack onto the new base.
  • (Breaking) branch delete: Remove commits of the deleted branch from the stack. If you want to keep them around, untrack the branch instead.
  • branch delete: In the selection prompt for deleting a branch, default to the current branch.

Fixed

  • Reduce boilerplate in rebase error messages.
  • branch delete: Don't report an empty hash for untracked branches.

v0.1.0-alpha5

27 May 14:32
0e65ffc
Compare
Choose a tag to compare
v0.1.0-alpha5 Pre-release
Pre-release

Added

  • branch {checkout, delete, onto, rename}: Prompt for branch if not provided.
  • branch checkout: Allow opting into tracking after checking out a branch.

Changed

  • Use more compact UI for terminal widgets.
  • branch submit: Replace inline text editor with option to open $EDITOR or accept the default.
  • Selection widgets now support fuzzy filtering. Start typing to filter options.

v0.1.0-alpha4

24 May 04:59
020ffbd
Compare
Choose a tag to compare
v0.1.0-alpha4 Pre-release
Pre-release

Added

  • commit create, commit amend: Allow using during an ongoing rebase. During a rebase, these commands will not restack the upstack.
  • repo sync: Support running in detached head state.

Changed

  • Breaking: Change restack alias to 'r', allowing for 'br', 'sr', 'usr', etc.

Fixed

  • Adjust restacking commit selection to avoid picking up extraneous commits.
  • branch submit: Don't truncate PR bodies longer than 400 characters.
  • branch edit: Fix not surfacing the editor to the user.

v0.1.0-alpha3

23 May 05:12
c6c96f6
Compare
Choose a tag to compare
v0.1.0-alpha3 Pre-release
Pre-release

Changed

  • branch delete: Report hash of deleted branch. Use this to recover the deleted branch before the next git gc.
  • Rename 'gs complete' to 'gs completion'.

Fixed

  • repo sync: Fix deleting merged branches after a manual 'git pull'.

v0.1.0-alpha2

23 May 04:04
e2b9d54
Compare
Choose a tag to compare
v0.1.0-alpha2 Pre-release
Pre-release

Fixed

  • branch submit: Fix default PR title and body for branches with multiple commits.
  • repo sync: Delete remote tracking branches for merged PRs.

v0.1.0-alpha1

23 May 01:05
86836b3
Compare
Choose a tag to compare
v0.1.0-alpha1 Pre-release
Pre-release

Initial alpha release.