diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
| commit | 97a6b663a1945603e9b55228e8540957d03f2a64 (patch) | |
| tree | e71b5502c0d8fcc93497c0894626b7fdc9a925fe /linux/home/.gitconfig | |
| parent | 88370cd83f13c30d68119cbe3b229a1ab559cf55 (diff) | |
| download | dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.tar.gz dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.zip | |
Moved files to common/
Diffstat (limited to 'linux/home/.gitconfig')
| -rw-r--r-- | linux/home/.gitconfig | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/linux/home/.gitconfig b/linux/home/.gitconfig deleted file mode 100644 index c54adec..0000000 --- a/linux/home/.gitconfig +++ /dev/null @@ -1,32 +0,0 @@ -[user] - name = - email = - -[init] - defaultBranch = main - -[color] - ui = true - -[alias] - graph = log --oneline --graph --decorate - ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate - ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat - lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short - conflicts = diff --name-only --diff-filter=U - local-branches = !git branch -vv | cut -c 3- | awk '$3 !~/\\[/ { print $1 }' - recent-branches = !git branch --sort=-committerdate | head - authors = !git log --format='%aN <%aE>' | grep -v 'users.noreply.github.com' | sort -u --ignore-case - sba ="!f() { git subtree add --prefix $2 $1 main; }; f" - sbu ="!f() { git subtree pull --prefix $2 $1 main; }; f" - stashrebase = "!f() { if [ \"$(git symbolic-ref --short HEAD)\" = \"main\" ]; then git stash save && git fetch && git rebase origin main && git stash apply; else git stash save && git fetch && git rebase origin master && git stash apply; fi; }; f" - dotfiles = "!f() { git --git-dir=$HOME/.cfg --work-tree=$HOME stashrebase; }; f" - - -[credential "https://github.com"] - helper = - helper = !sh -c 'command -v gh >/dev/null 2>&1 && exec gh auth git-credential || exit 0' - -[credential "https://gist.github.com"] - helper = - helper = !sh -c 'command -v gh >/dev/null 2>&1 && exec gh auth git-credential || exit 0' |
