Make git ignore deleted LICENSE & README.md files
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
This commit is contained in:
parent
d1262d2fbc
commit
40c3a5bdd0
1 changed files with 3 additions and 0 deletions
3
larbs.sh
3
larbs.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue