Mercurial > hg > config
changeset 813:446107608d89
add undo for one level only
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 16:15:18 -0800 |
parents | 0bc7c1a5eb83 |
children | a56a844f6e6f |
files | .gitconfig |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitconfig Fri Oct 28 18:54:56 2016 -0700 +++ b/.gitconfig Mon Nov 07 16:15:18 2016 -0800 @@ -13,8 +13,9 @@ root = rev-parse --show-toplevel st = status subscribe-pulls = !"f() { REMOTE=${1:-origin}; if ! git config --local --get-all remote.${REMOTE}.fetch | grep -q refs/pull; then echo 'subscribing...' 2>&1; git config --local --add remote.${REMOTE}.fetch '+refs/pull/*/head:refs/remotes/pr/*'; fi; }; f" + undo = reset HEAD~ up = !git pull origin master && git push origin master wip = !git commit -a -m 'wip' && git push origin $(git rev-parse --abbrev-ref HEAD) [credential] - helper = cache --timeout=10000 \ No newline at end of file + helper = cache --timeout=10000