diff --git a/CHANGELOG.md b/CHANGELOG.md index d3ce22d..a7e1303 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)). diff --git a/src/Hit/Git/Stash.hs b/src/Hit/Git/Stash.hs index 353c789..39fb668 100644 --- a/src/Hit/Git/Stash.hs +++ b/src/Hit/Git/Stash.hs @@ -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"]