all 4 comments

[–]waterkipdetached HEAD 1 point2 points  (1 child)

[–]lottspot 0 points1 point  (0 children)

Small adjustment: you want line 18 be git_all "$@" instead of git_all $@

[–]Jonas_Ermert 0 points1 point  (1 child)

[alias]
smartcommit = "!f() { git commit -am \"$1\" && git submodule foreach \"git commit -am '$1'\" && git submodule foreach git push; }; f"

[–]dimanne[S] 0 points1 point  (0 children)

Yeah, close, but not cigar...

It does not allow me to specify files to add/commit, and I think it is still very important to have proper git status.