mirror of
https://github.com/kowainik/hit-on.git
synced 2024-09-11 12:15:46 +03:00
parent
5333b70387
commit
b49673d5ce
@ -30,6 +30,8 @@ The changelog is available [on GitHub][2].
|
||||
Strip `[RFC]` prefix from issues in branch names and commit messages.
|
||||
* [#152](https://github.com/kowainik/hit-on/issues/152):
|
||||
Filter out PRs from the list of all issues in the `hit issue` command.
|
||||
* [#154](https://github.com/kowainik/hit-on/issues/154):
|
||||
Add `--date=now` to the `amend` command.
|
||||
|
||||
### 0.1.0.0 — Aug 3, 2019
|
||||
|
||||
|
@ -4,7 +4,7 @@ module Hit.Git.Amend
|
||||
( runAmend
|
||||
) where
|
||||
|
||||
import Shellmet()
|
||||
import Shellmet ()
|
||||
|
||||
import Hit.Core (PushBool (..))
|
||||
import Hit.Git.Push (runPush)
|
||||
@ -14,5 +14,5 @@ import Hit.Git.Push (runPush)
|
||||
runAmend :: Bool -> IO ()
|
||||
runAmend localAmend = do
|
||||
"git" ["add", "."]
|
||||
"git" ["commit", "--amend", "--no-edit"]
|
||||
"git" ["commit", "--amend", "--no-edit", "--date", "now"]
|
||||
unless localAmend $ runPush Force
|
||||
|
Loading…
Reference in New Issue
Block a user