Hello Everybody! My first post here was looking forward to having something adequate to share :)
I create a simple script for having an interactive commit using the terminal, you can see the instructions here
Usually, a commit will be something like this:
git commit -am 'ADD: new feature'
Then the next commit will be something like this:
git commit -am 'FIX: the feature was broken'
In every commit always the same pattern is repeated
git commit -am 'THE_MESSAGE' so I was wondering how to do it faster.
My first attempt was to press up arrow and delete, but it was tedious, then it hit me:
It would be really cool if I could have something like
Like in the text base adventure games, the interaction was basically writing lines, the program read the input and then do something.
So there you have a bonus, now your version control is an adventure game as well!