kowainik / hit-on

:octocat: Kowainik Git Workflow Helper Tool
https://kowainik.github.io/projects/hit-on
Mozilla Public License 2.0
76 stars 13 forks source link

[RFC] wip commits #159

Closed vrom911 closed 4 years ago

vrom911 commented 4 years ago

I need this very often, so I usually do:

hit commit -np "WIP"

Would it be useful to have this logic somewhere? I only concerned about how to handle cases with master. I guess we need to somehow create a wip branch, but not sure...

chshersh commented 4 years ago

@vrom911 Interesting idea! I like having hit wip command, which does exactly what you described 👍

I agree that the case with master is a bit tricky and worth thinking about 🤔 I see a few options:

vrom911 commented 4 years ago

@chshersh , great summary! For me personally the master use case is rarer, as I usually working on a particular issue and want to make a WIP commit. However, for sure the airbag should be in place. I would go for the first option, as I don't usually care about the collision between my wip branches. But the second one is totally legit. So need to think more about each one.