diff --git a/bin/git-ignore b/bin/git-ignore index 11a59d4..c478b0d 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -42,6 +42,7 @@ function show_private { function add_private { cd "$(git root)" + mkdir -p .git/info add_patterns .git/info/exclude "$@" }