dot

packages and services management
Log | Files | Refs | README

commit deb83191f9467a723205882784cb5df66016db57
parent a335b61bea958b44719b893babb13ebe88cc97b9
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Thu,  6 Apr 2017 11:49:00 +0200

dropping git aliases: use vanilla

Diffstat:
M.config/git/config | 22++--------------------
Abin/git-all | 1+
2 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/.config/git/config b/.config/git/config @@ -11,23 +11,5 @@ ui = auto [alias] - # Most common operations - a = add -A - c = commit - p = push - u = pull - s = status -s -b - l = log --graph --color - acpa = !git a && git c -a && git p -f - - # Subtrees - sta = "!f() { git subtree add --prefix $2 $1 master --squash; }; f" - stu = "!f() { git subtree pull --prefix $2 $1 master --squash; }; f" - str = "!f() { git filter-branch -f --prune-empty --tree-filter 'rm -rf $1' HEAD; }; f" - - # Submodules - sma = submodule add -b master --depth 1 - smu = !git pull --recurse-submodules && git submodule update - - # Show all repos - all = "!find ~ -name .git -exec sh -c \"cd '{}/..'; printf '\\n'; pwd; git status -s\" \\;" + log = log --graph --color + status = status -s diff --git a/bin/git-all b/bin/git-all @@ -0,0 +1 @@ +find ~ -name .git -exec sh -c \"cd '{}/..'; printf '\\n'; pwd; git status -s\" \\;