From 5dbf33e05b92d873d0f6fd48968d29a0372a7f7a Mon Sep 17 00:00:00 2001 From: Sal Ferrarello Date: Mon, 3 Dec 2018 15:40:43 -0500 Subject: [PATCH] Enable interactive.singleKey Allow single key answers (no need to hit Enter) when using git add -p See #93 --- CHANGELOG.md | 1 + gitconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b541d30..8d6d1c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added - Add alias `git branch-delete-merged` / `gbdm` to delete local branches already merged into current branch +- Add configuration value `interactive.singleKey` set to true, to allow single key answers (no need to hit Enter) when using `git add -p` ## [1.5.0] - 2018-10-30 ### Added diff --git a/gitconfig b/gitconfig index ccf9e8c..2ba492d 100644 --- a/gitconfig +++ b/gitconfig @@ -4,6 +4,9 @@ [core] excludesfile = ~/ironcode-git-enhancements/global-gitignore +[interactive] + singleKey = true + [alias] ######################### # BEGIN: Helper Aliases #