mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
github: fix new_gh to force-add .gitignore (#7086)
This commit is contained in:
parent
abca62add1
commit
314f9dfcb3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue