Skip to content

Commit 3a3e5fa

Browse files
committed
🗄 chore: Move git package
1 parent 264a93d commit 3a3e5fa

11 files changed

Lines changed: 11 additions & 8 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Temporary Items
3535
# End of https://www.toptal.com/developers/gitignore/api/macos,nova
3636

3737
# Custom
38+
/pkg/git/custom/custom.gitconfig
3839
/zsh/.zcompdump
3940
/zsh/.zsh_history
4041
/zsh/.zsh_sessions

makefiles/macos.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ macos-duti: macos-brew
112112
# This is a full suite of git plugins and configurations
113113
# Most other target that requires git don't need this
114114
macos-git: macos-brew
115-
brew bundle --file brewfiles/git.Brewfile
115+
brew bundle --file pkg/git/git.Brewfile
116116

117117
macos-micro: macos-brew
118118
brew install micro

makefiles/ubuntu.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ubuntu-essential: ubuntu-core ubuntu-locale-zhtw ubuntu-tz-taipei ubuntu-ssh
1717
sudo apt-get install -y build-essential
1818

1919
ubuntu-git: ubuntu-stow
20-
xargs sudo apt-get install -y < aptfiles/git.Aptfile
20+
xargs sudo apt-get install -y < pkg/git/git.Aptfile
2121

2222
ubuntu-javascript:
2323
echo "NOT IMPLEMENTED!"

git/.gitconfig renamed to pkg/git/.gitconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ updated = green bold
5555
ui = auto
5656

5757
[commit]
58-
template = "~/.git_commit_template"
58+
template = "~/.dotfiles/pkg/git/.git_commit_template"
5959

6060
[core]
61-
attributesFile = "~/.gitattributes"
62-
excludesFile = "~/.gitignore_global"
61+
attributesFile = "~/.dotfiles/pkg/git/.gitattributes"
62+
excludesFile = "~/.dotfiles/pkg/git/.gitignore"
6363
editor = "nano"
6464

6565
[diff]
@@ -85,11 +85,11 @@ lineNumber = true
8585
autocorrect = prompt
8686

8787
[include]
88-
path = "~/.gitconfig-custom" # include other customizations
89-
path = "~/.gitalias"
88+
path = "~/.dotfiles/pkg/git/custom/custom.gitconfig" # include other customizations
89+
path = "~/.dotfiles/pkg/git/alias.gitconfig"
9090

9191
[includeIf "hasconfig:remote.*.url:https://github.com/**"]
92-
path = "~/github-tomy0000000.gitconfig" # include the user block
92+
path = "~/.dotfiles/pkg/git/github-tomy0000000.gitconfig" # include the user block
9393

9494
[init]
9595
# https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# https://git-scm.com/docs/gitignore
12
# Created by https://www.toptal.com/developers/gitignore/api/macos,xcode,dropbox,visualstudiocode
23
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,xcode,dropbox,visualstudiocode
34

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
brew "git"
2+
brew "git-delta"
23
brew "git-extras"
34
cask "git-credential-manager"
45
cask "gpg-suite-no-mail"

0 commit comments

Comments
 (0)