diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-06-04 09:59:29 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-06-04 09:59:29 +0200 |
commit | fcc6abc47a2979f2482e456d64344deee44820b8 (patch) | |
tree | 6f6f91c41738e6e979deea323e969240c9cd6e02 /.gitconfig | |
parent | c3b850c3cb11cbc56230a69565e9e523f503034c (diff) |
Add recent alias
Sorting branches by "last activity".
Source: https://twitter.com/tenderlove/status/1392957802163802112
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ ls = ls-files pr = "!f() { git fetch -fu ${2:-$(git remote |grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" pushf = push --force-with-lease + recent = branch --sort=-committerdate --format=\"%(committerdate:relative)%09%(refname:short)\" ri = rebase --interactive --autosquash s = status -s st = status |