Skip to content

Commit eb0675c

Browse files
committed
chore(git): remove sync command from the alias, they are moved to Nushell git wrapper script
Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
1 parent 96d600f commit eb0675c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

profiles/program/git.nix

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,8 @@ in
3333
fi; \
3434
}; f";
3535
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-
fi \
45-
done \
46-
}; f";
4736
graph = "log --decorate --oneline --graph";
4837
rebase-absorb = "absorb --and-rebase";
49-
tag-sync = "!git fetch --tags --prune-tags --force";
5038
};
5139

5240
color."status" = {

0 commit comments

Comments
 (0)