Difference between revisions of "Git/add"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to navigation Jump to search
(Created page with "==Links== ===Documentation=== * [https://www.kernel.org/pub/software/scm/git/docs/git-add.html manpage @ kernel.org]")
 
(git-scm)
 
Line 1: Line 1:
 +
==Notes==
 +
To remove a file from the staged area after adding it (but before a {{l/same|commit}}), type <code>git add --interactive</code> and use the "revert" option.
 
==Links==
 
==Links==
 
===Documentation===
 
===Documentation===
 
* [https://www.kernel.org/pub/software/scm/git/docs/git-add.html manpage @ kernel.org]
 
* [https://www.kernel.org/pub/software/scm/git/docs/git-add.html manpage @ kernel.org]
 +
* [http://git-scm.com/docs/git-add git-scm]

Latest revision as of 01:37, 7 May 2015

Notes

To remove a file from the staged area after adding it (but before a commit), type git add --interactive and use the "revert" option.

Links

Documentation