-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
105 lines (99 loc) · 1.98 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# .gitignore
#
# this file blacklists new configuration folders under the main four (dotfiles,
# etc, root, usr) by default so that I'm forced to think before I add
#
# this strategy will hopefully keep me from committing any secrets by accident
# blacklist files/folders in same directory as the .gitignore file, which also
# blocks us from seeing nested contents
/*
# whitelist specific top-level files
!.gitignore
!LICENSE
!README.md
# dotfiles
# whitelist dotfiles folder itself, which also allows us to see nested contents
!dotfiles/
# blacklist all files/folders directly under dotfiles so we can't see nested
# contents
dotfiles/*
# whitelist specific files/folders under dotfiles
# progressively allow directory (and contents), block contents, then allow
# specific subfolder to allow only specific nested files/folders
!dotfiles/alacritty/
!dotfiles/bash/
!dotfiles/clipmenu/
!dotfiles/dunst/
!dotfiles/gdb/
!dotfiles/git/
!dotfiles/i3/
!dotfiles/keymap/
!dotfiles/ranger/
!dotfiles/ssh/
dotfiles/ssh/*
!dotfiles/ssh/.ssh/
dotfiles/ssh/.ssh/*
!dotfiles/ssh/.ssh/config
!dotfiles/ssh-agent/
!dotfiles/tmux/
!dotfiles/vim/
dotfiles/vim/*
!dotfiles/vim/.vimrc
!dotfiles/vscode/
dotfiles/vscode/*
!dotfiles/vscode/.config/
!dotfiles/wallpapers/
!dotfiles/xorg/
!dotfiles/zsh/
!dotfiles/.stowrc
# etc
!etc/
etc/*
!etc/chrony/
!etc/fstab/
!etc/host/
!etc/iptables/
!etc/locale/
!etc/mkinitcpio/
!etc/sudo/
!etc/systemd-resolved/
!etc/usb-mods/
!etc/backup/
!etc/pulseaudio/
!etc/keyboard/
!etc/.stowrc
!etc/pkglist/
!etc/opt/
!etc/ddcutil/
!etc/battery-limit/
# root
!root/
root/*
!root/ssh/
root/ssh/*
!root/ssh/root/
root/ssh/root/*
!root/ssh/root/.ssh/
root/ssh/root/.ssh/*
!root/ssh/root/.ssh/config
!root/systemd-boot/
!root/.stowrc
!root/README.md
# usr
!usr/
usr/*
!usr/alacritty/
!usr/available-workspace/
!usr/battery-limit/
!usr/calendar/
!usr/fzf/
!usr/keyboard/
!usr/mic-toggle/
!usr/monitor-layout/
!usr/nas-mount/
!usr/openvpn/
!usr/osu/
!usr/restic-backup/
!usr/weather/
!usr/wifi-mon/
!usr/.stowrc