Kaynağa Gözat

Added partial support for private files

*   if dotfiles are shared by git, it will ignore
    all files under dotfiles/git-universe/private

*   if you use other sharing mechanism, you need
    to exclude these files other way
Alois Mahdal 11 yıl önce
ebeveyn
işleme
a05fdafa61
2 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 1
    0
      .gitignore
  2. 1
    0
      dotfiles/git-universe/setup

+ 1
- 0
.gitignore Dosyayı Görüntüle

@@ -1,3 +1,4 @@
1 1
 *~
2 2
 .*.swp
3 3
 .netrwhist
4
+*/git-universe/private/*

+ 1
- 0
dotfiles/git-universe/setup Dosyayı Görüntüle

@@ -20,4 +20,5 @@ printf "[include]\n" >> ~/.gitconfig
20 20
 printf "    path = $tilde/.git-universe/gitconfig-before\n" >> ~/.gitconfig
21 21
 printf "    path = $tilde/.git-universe/host/$host.gitconfig\n" >> ~/.gitconfig
22 22
 printf "    path = $tilde/.git-universe/user/$user.gitconfig\n" >> ~/.gitconfig
23
+printf "    path = $tilde/.git-universe/private/gitconfig\n" >> ~/.gitconfig
23 24
 printf "    path = $tilde/.git-universe/gitconfig-after\n" >> ~/.gitconfig