Browse Source

custom git commit function

master
Markus Bergholz 2 years ago
parent
commit
e9b02b4978
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      bash/mb.bashrc

+ 5
- 0
bash/mb.bashrc View File

@@ -12,6 +12,11 @@ alias gp="git pull"
function lastweek() {
git shortlog -sne --since="$(date --date='7 days ago')" --before="$(date)"
}
function gc() {
if (npm run lint); then
git commit -m "$1"
fi
}

## ssh keygen
#############


Loading…
Cancel
Save