pickhardt / betty

Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
2.61k stars 215 forks source link

Additional git support #187

Open OrthoDex opened 8 years ago

OrthoDex commented 8 years ago

Hey! I noticed betty has support for undoing git add, I would like to add some additional support based on my own experience. Initially when contributing to repos, which needed squashing my commits, I saw myself referring to the rebase command multiple times. It would be nice to have support for git rebase in betty.

I would really appreciate inputs on this :smile:

pickhardt commented 8 years ago

Can you give some example syntax and responses you are expecting?

OrthoDex commented 8 years ago

Hey @pickhardt , some of the use cases could be:

betty show commits Betty: Running git log --pretty=oneline --abbrev-commit

another could be:

betty squash my last 5 commits Betty: Running git rebase -i HEAD~5 ... Listing last 5 commits in chronological order.