We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d600f commit eb0675cCopy full SHA for eb0675c
profiles/program/git.nix
@@ -33,20 +33,8 @@ in
33
fi; \
34
}; f";
35
branch-rename = "!git branch -m $(git rev-parse --abbrev-ref HEAD) $2";
36
- branch-sync = "!f() { \
37
- git fetch && \
38
- git for-each-ref --format \"%(refname:short) %(upstream:short)\" refs/heads | \
39
- while read -r local upstream; do \
40
- if [ -n \"$upstream\" ]; then \
41
- if ! git show-ref --quiet \"refs/remotes/$upstream\"; then \
42
- git branch -D \"$local\" \
43
- fi \
44
45
- done \
46
- }; f";
47
graph = "log --decorate --oneline --graph";
48
rebase-absorb = "absorb --and-rebase";
49
- tag-sync = "!git fetch --tags --prune-tags --force";
50
};
51
52
color."status" = {
0 commit comments