Lazygit: [Feature request] Support rename a branch

Created on 10 Aug 2020  路  2Comments  路  Source: jesseduffield/lazygit

Is your feature request related to a problem? Please describe.

For instance, when I create a new branch, after committing some changes, I might want to change the branch name before push to the remote.

Describe the solution you'd like

git doesn't support rename a branch, but lazygit could provide a shortcut:

  • Create a new branch (with the new branch name) based on the selected branch
  • Delete the selected branch
  • Checkout the newly created branch (which will have the same HEAD)
enhancement

Most helpful comment

If I'm reading your message correctly, this is already supported by pressing shift+R on a branch :)

All 2 comments

If I'm reading your message correctly, this is already supported by pressing shift+R on a branch :)

If I'm reading your message correctly, this is already supported by pressing shift+R on a branch :)

Oops.

Was this page helpful?
0 / 5 - 0 ratings