Commit 314f9dfc authored by jack's avatar jack Committed by Marc Cornellà
Browse files

github: fix new_gh to force-add .gitignore (#7086)

parent abca62ad
...@@ -36,7 +36,7 @@ new_gh() { # [DIRECTORY] ...@@ -36,7 +36,7 @@ new_gh() { # [DIRECTORY]
print '.*'"\n"'*~' >> .gitignore print '.*'"\n"'*~' >> .gitignore
git add [^.]* \ git add [^.]* \
|| return || return
git add .gitignore \ git add -f .gitignore \
|| return || return
git commit -m 'Initial commit.' \ git commit -m 'Initial commit.' \
|| return || return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment