diff options
-rwxr-xr-x | Link-Them | 2 | ||||
-rw-r--r-- | gitconfig | 2 | ||||
-rw-r--r-- | gitignore | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,7 @@ else relpath="${dir##$HOME/}/" fi -for file in bash_profile bashrc gitconfig screenrc vimrc zshrc zshfunc; do +for file in bash_profile bashrc gitconfig gitignore screenrc vimrc zshrc zshfunc; do if [ -L "$HOME/.$file" ]; then if [ "$(readlink "$HOME/.$file")" = "$dir/$file" ]; then # old style symlink, remove rm -v -f "$HOME/.$file" @@ -21,3 +21,5 @@ mergeoptions = --no-ff --no-commit [branch "debian"] mergeoptions = --no-ff --no-commit +[core] + excludesfile = ~/.gitignore diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/gitignore @@ -0,0 +1 @@ +*.swp |