diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-04-25 15:26:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 15:26:22 -0400 |
commit | debd8c32c8f21456a9a5806f234889313a02362c (patch) | |
tree | 151e87035afcd07eca61a040847c28e6e778be7f | |
parent | d1262d2fbc7bee6290a8e3a23734d2803c70c1c2 (diff) | |
parent | 40c3a5bdd0a91e56c427a742996dba4234fec6cb (diff) |
Merge pull request #217 from sarpik/sarpik/make-git-ignore-deleted-readme-and-license
Make git ignore deleted LICENSE & README.md files
-rw-r--r-- | larbs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -222,6 +222,9 @@ yes | sudo -u "$name" $aurhelper -S libxft-bgra >/dev/null 2>&1 # Install the dotfiles in the user's home directory putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch" rm -f "/home/$name/README.md" "/home/$name/LICENSE" +# make git ignore deleted LICENSE & README.md files +git update-index --assume-unchanged "/home/$name/README.md" +git update-index --assume-unchanged "/home/$name/LICENSE" # Most important command! Get rid of the beep! systembeepoff |