Difference between revisions of "Git/add"
< 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.