stackoverflow.com: Difference between “git add -A” and “git add .”

stackoverflow.com: Difference between “git add -A” and “git add .”

Here is table for quick understanding:

Git Version 1.x:

Git Version 2.x:

Long-form flags:

git add -A is equivalent to git add –all
git add -u is equivalent to git add –update
Further reading:

Git for beginners: The definitive practical guide
Got 15 minutes and want to learn Git? (in Interactive Way)
http://pcottle.github.io/learnGitBranching/
http://www.wei-wang.com/ExplainGitWithD3/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s