|
|
@@ -17,8 +17,9 @@ git-create() {
|
|
|
local message="Initializing repository"
|
|
|
if [[ $# -ge 1 ]]; then
|
|
|
for i in "$@"; do git-ignore "${i}"; done
|
|
|
- message+=" with ignore lists: [ $1 $(printf ", %s" "${@:2}")]"
|
|
|
+ message+=" with ignore lists: [ $1$(printf ", %s" "${@:2}") ]"
|
|
|
fi
|
|
|
+ maybe_do git-ignore-local
|
|
|
git add .gitignore
|
|
|
git commit -m "${message}"
|
|
|
}
|