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
At the moment we have hit fix command which amends the changes to the latest commit and force pushes the branch. I guess the better name for this command is hit amend.
I can see the better usage for the hit fix command: to make the separate commit (without the issue prefix) and to push the branch.
So, to resolve this issue ones need:
Rename hit fix to hit amend
Implement hit fix command which will take the optional string as the commit message (if the optional string is not provided then use "Fix after review" message), make the commit to the current branch and push the current branch.
The text was updated successfully, but these errors were encountered:
You want to append msg to the list ["commit", "-m "] but instead you're appending it to function call "git" ["commit", "-m "]. What you want is something like:
"git"$ ["commit", "-m "] ++ [msg]
Or just
"git" ["commit", "-m ", msg]
Also you may notice some code duplication in your function. Instead of pattern-matching on Maybe on top level you can just construct message text from that Maybe Text and pass it to "git" inside list. I hope that helps!
At the moment we have
hit fix
command which amends the changes to the latest commit and force pushes the branch. I guess the better name for this command ishit amend
.I can see the better usage for the
hit fix
command: to make the separate commit (without the issue prefix) and to push the branch.So, to resolve this issue ones need:
hit fix
tohit amend
hit fix
command which will take the optional string as the commit message (if the optional string is not provided then use "Fix after review" message), make the commit to the current branch and push the current branch.The text was updated successfully, but these errors were encountered: