Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

add git aliases #1

Open
collinbarrett opened this issue Oct 28, 2020 · 0 comments
Open

add git aliases #1

collinbarrett opened this issue Oct 28, 2020 · 0 comments

Comments

@collinbarrett
Copy link
Owner

collinbarrett commented Oct 28, 2020

[alias]
        allparallel = "!f() { ls | xargs -P10 -I{} git -C {} $1; }; f" #has concurrency issues with credential helper store
        all = "!f() { ls | xargs -I{} git -C {} $1; }; f"
        refresh = "!git checkout . && git clean -fdx && git checkout master && git pull && git prune"
        resync = "!git fetch origin && git rebase origin/master && git push -f --set-upstream origin \"$(git rev-parse --abbrev-ref HEAD)\""
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant