From ed31e66bf31d6ea1e52f3bae349e1b87c2f029d2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 11 Apr 2016 09:55:27 +0300 Subject: [PATCH] bashrc & zshrc: add missing comment for git-squash --- rc/bashrc | 1 + rc/zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index 2038b833..ea822e54 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -923,6 +923,7 @@ transmission-magnet () { transmission-remote -l -t $1 -i | grep magnet } +# Merges the last $1 commits into one git-squash () { git reset --soft HEAD~$1 git commit diff --git a/rc/zshrc b/rc/zshrc index 3a130e93..c4a6a252 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -932,6 +932,7 @@ transmission-magnet () { transmission-remote -l -t $1 -i | grep magnet } +# Merges the last $1 commits into one git-squash () { git reset --soft HEAD~$1 git commit