Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add, commit, sqash in one command #317

Open
SimonHoiberg opened this issue Feb 20, 2020 · 0 comments
Open

Feature: Add, commit, sqash in one command #317

SimonHoiberg opened this issue Feb 20, 2020 · 0 comments

Comments

@SimonHoiberg
Copy link

Feature request

As a developer, I want to make the common procedure of adding to a recent commit easier by using a single command.

Scenario

You just commit your changes and pushed to remote.
Now you realize that you did a small typo or the like, and you want to have this change included in your most recent commit.

Normally, you will now have to:
git add .
git commit -m "..."
git rebase -i HEAD~2
Squash the latest commit "..."
Remove the commit message by commenting out.
git push -f

Feature

Have all this included in one command.
Example:
git phlow append .
git push -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants