mirror of https://github.com/wlcx/home.git
Fix git gone alias
This commit is contained in:
parent
ad7e4474fb
commit
ba0b654e3e
|
@ -28,8 +28,7 @@
|
||||||
st = "status";
|
st = "status";
|
||||||
|
|
||||||
gone = ''
|
gone = ''
|
||||||
! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | a
|
! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' │ awk '$2 == "[gone]" {print $1}' | xargs -r git branch -D'';
|
||||||
│ wk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"'';
|
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
branch.sort = "-committerdate";
|
branch.sort = "-committerdate";
|
||||||
|
@ -38,7 +37,10 @@
|
||||||
};
|
};
|
||||||
includes = [
|
includes = [
|
||||||
{ path = "~/.gitconfig.local"; }
|
{ path = "~/.gitconfig.local"; }
|
||||||
{ path = "~/.gitconfig.work"; condition = "gitdir:~/work/"; }
|
{
|
||||||
|
path = "~/.gitconfig.work";
|
||||||
|
condition = "gitdir:~/work/";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue