File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,3 +7,9 @@ DOT_HOME="$(dirname "$(dirname "$(dirname "$SCRIPT_DIR")")")"
77
88# Call shared build script
99" $DOT_HOME /shared/tools/git/build"
10+
11+ # Copy Debian-specific git configuration
12+ if [[ -f " $SCRIPT_DIR /config/gitconfig.os" ]]; then
13+ cp " $SCRIPT_DIR /config/gitconfig.os" " $HOME /.gitconfig.os"
14+ echo " [Debian] OS-specific git configuration installed"
15+ fi
Original file line number Diff line number Diff line change 1+ # Debian- specific git configuration
2+ [credential "https://github.com" ]
3+ helper = !/ usr/ bin/ gh auth git- credential
4+ [credential "https://gist.github.com" ]
5+ helper = !/ usr/ bin/ gh auth git- credential
Original file line number Diff line number Diff line change @@ -7,3 +7,9 @@ DOT_HOME="$(dirname "$(dirname "$(dirname "$SCRIPT_DIR")")")"
77
88# Call shared build script
99" $DOT_HOME /shared/tools/git/build"
10+
11+ # Copy macOS-specific git configuration
12+ if [[ -f " $SCRIPT_DIR /config/gitconfig.os" ]]; then
13+ cp " $SCRIPT_DIR /config/gitconfig.os" " $HOME /.gitconfig.os"
14+ echo " [macOS] OS-specific git configuration installed"
15+ fi
Original file line number Diff line number Diff line change 1+ # macOS- specific git configuration
2+ [credential "https://github.com" ]
3+ helper = !/ opt/ homebrew/ bin/ gh auth git- credential
4+ [credential "https://gist.github.com" ]
5+ helper = !/ opt/ homebrew/ bin/ gh auth git- credential
Original file line number Diff line number Diff line change 22 email = vikdotdev@gmail.com
33 name = Viktor Habchak
44 signingkey = 7392D21113383CBB
5- [credential "https://github.com "]
6- helper = !/usr/bin/gh auth git-credential
7- [credential "https://gist.github.com "]
8- helper = !/usr/bin/gh auth git-credential
5+ [include ]
6+ path = ~ /.gitconfig.os
97[alias ]
108 ci = commit
119 st = status
You can’t perform that action at this time.
0 commit comments