rc: git squash

Closes #72
This commit is contained in:
Aminda Suomalainen 2015-06-12 19:30:23 +03:00
parent d8c078a45e
commit 60435533d5
2 changed files with 9 additions and 0 deletions

View File

@ -879,6 +879,11 @@ transmission-magnet () {
transmission-remote -l -t $1 -i | grep magnet transmission-remote -l -t $1 -i | grep magnet
} }
git-squash () {
git reset --soft HEAD~$1
git commit
}
# .custom # .custom
if [ -f ~/.custom ]; then if [ -f ~/.custom ]; then
source ~/.custom source ~/.custom

View File

@ -868,6 +868,10 @@ transmission-magnet () {
transmission-remote -l -t $1 -i | grep magnet transmission-remote -l -t $1 -i | grep magnet
} }
git-squash () {
git reset --soft HEAD~$1
git commit
}
# Source files for miscannellious modifications. # Source files for miscannellious modifications.