Skip to content

Commit fcc9eb4

Browse files
committed
add git module
1 parent 846387e commit fcc9eb4

2 files changed

Lines changed: 61 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"Bash(git add:*)",
1111
"Bash(git commit:*)",
1212
"Bash(go build:*)",
13-
"Bash(go get:*)"
13+
"Bash(go get:*)",
14+
"WebSearch"
1415
]
1516
}
1617
}

modules/git.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: git
2+
version: "1.0.0"
3+
items:
4+
- package: git
5+
via: brew
6+
skip_if: command -v git
7+
verify: git --version
8+
9+
- package: git
10+
via: apt
11+
skip_if: command -v git
12+
verify: git --version
13+
14+
- package: git
15+
via: dnf
16+
skip_if: command -v git
17+
verify: git --version
18+
19+
- package: git
20+
via: pacman
21+
skip_if: command -v git
22+
verify: git --version
23+
24+
- package: Git.Git
25+
via: winget
26+
skip_if: command -v git
27+
verify: git --version
28+
29+
- package: git
30+
via: choco
31+
skip_if: command -v git
32+
verify: git --version
33+
34+
- file: .gitconfig
35+
direction: sync
36+
destination:
37+
macos: ~
38+
linux: ~
39+
windows: '%USERPROFILE%'
40+
41+
- file: .gitignore_global
42+
direction: sync
43+
destination:
44+
macos: ~
45+
linux: ~
46+
windows: '%USERPROFILE%'
47+
48+
- file: .gitattributes
49+
direction: sync
50+
destination:
51+
macos: ~
52+
linux: ~
53+
windows: '%USERPROFILE%'
54+
55+
- file: ignore
56+
direction: sync
57+
destination:
58+
macos: ~/.config/git
59+
linux: ~/.config/git

0 commit comments

Comments
 (0)