Add --include-untracked option to hit stash command (#150)

closes #144
This commit is contained in:
Max Strübing 2020-03-12 22:14:48 +01:00 committed by GitHub
parent dc1dd199f5
commit b71914214e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,9 @@ The changelog is available [on GitHub][2].
### Unreleased: 0.2.0.0
* [#150](https://github.com/kowainik/hit-on/issues/150):
Add `--include-untracked` option to `hit stash` command.
(by [@mstruebing](https://github.com/mstruebing)).
* [#65](https://github.com/kowainik/hit-on/issues/55):
Add `--issue` option to `hit new` command to create issue.
(by [@bangn](https://github.com/bangn)).

View File

@ -9,6 +9,4 @@ import Shellmet()
-- | @hit stash@ command: save all local changes to stash.
runStash :: IO ()
runStash = do
"git" ["add", "."]
"git" ["stash"]
runStash = "git" ["stash", "--include-untracked"]