Is -a
in git commit -a
equivalent to git add . -A
?
Assuming i have the following aliases:
12 alias gita='git add . -A'
13 alias gits='clear; git status'
14 alias gitlog='git log --pretty=oneline --abbrev-commit'
15 alias commit='git commit -a '
16 alias check='gita;commit' <--------------------------
When i say check
, is there any redundancy happening when i both add -A
and commit -a