New to git. Often in my workflow I will do a >> git add . ... then I
will do a >> git commit -m "Change" .... then I will do a >> push
Sometimes I get this message ... (below)
Cannot push because you have pending changes. Do a git commit or add
changes to .gitignore.
I fix it by doing a >> git commit -am "Change"
Why do I need the "a" sometimes, and sometimes I don't ... basically I
am just trying to push changes that I make locally... sometimes I
change files, delete them, add them.. who knows... but sometimes the
above situation occurs.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at