You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if geordi would relay every unused argument for geordi commit to the underlying git command. This can be helpful i.e. to create an initially empty commit with the sole purpose to be squashed upon:
git checkout -b my-new-branch
geordi commit
# nothing to commit, working directory clean
If geordi would relay my arguments to git, the following would be possible:
git checkout -b my-new-branch
geordi commit --alow-empty
# [my-new-branch] Pivotal Story Message here
The text was updated successfully, but these errors were encountered:
Thanks @makmic for your suggestion. I think it would make sense to allow this in Geordi.
As you can see there are some more issues open, which partially have a higher priority. That means it could take a while until this feature will be implemented.
Nevertheless I will be happy to review a PR in case you have time to implement this on your own.
Thank you for looking into and priorizing the issue. I do not expect to free up time in the near future to create a PR by myself, but I'll let you know if i do 😉
@makmic In the just released 2.7.0, geordi commit will make empty commits by default (but print a warning). Arguments are forwarded to git nontheless and allow further customization.
It would be nice if geordi would relay every unused argument for
geordi commit
to the underlying git command. This can be helpful i.e. to create an initially empty commit with the sole purpose to be squashed upon:git checkout -b my-new-branch geordi commit # nothing to commit, working directory clean
If geordi would relay my arguments to git, the following would be possible:
git checkout -b my-new-branch geordi commit --alow-empty # [my-new-branch] Pivotal Story Message here
The text was updated successfully, but these errors were encountered: