Skip to content

Commit

Permalink
git: add 'recommit' alias
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Nov 22, 2017
1 parent c9070b8 commit 916952a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# Use: `git gh-pr 123` or `git gh-pr 123 upstream`
gh-pr = !bash -c 'git fetch -fu ${2:-origin} refs/pull/$1/head:gh-pr/$1 && git checkout gh-pr/$1' -

# Amend commit without editing
recommit = commit --amend --no-edit

# Find out who is currently active on the repository
# Displays committers in descending order of number of commits
who = shortlog --numbered --summary --email --no-merges --since="3 months"
Expand Down

0 comments on commit 916952a

Please sign in to comment.