Remove unnecessary details.
--- a/git.rst Sun Feb 12 23:30:56 2017 +0200
+++ b/git.rst Sun Feb 12 23:34:25 2017 +0200
@@ -115,32 +115,19 @@
$ git reset badfile
-Doing changes.
-==============
-::
+Committing changes
+==================
- $ printf "clean:\n<TAB>rm $(wildcard *.o)\n" >>Makefile
+Individual file::
+
+ $ $EDITOR Makefile
+ $ git add Makefile
$ git diff
- diff --git a/Makefile b/Makefile
- index e84f7e9..cd2438a 100644
- --- a/Makefile
- +++ b/Makefile
- @@ -1,2 +1,5 @@
- all:
- @echo XXX
- exit 1
- +
- +clean:
- + rm -f *.o
- $ git add Makefile
- $ git commit -m "Added clean target."
- Created commit 11272b9: Added clean target.
- 1 files changed, 1 insertions(+), 0 deletions(-)
- create mode 100644 file
+ $ git commit -m "..."
-or just::
+Commit all changed and previously manages files::
- $ git commit -a -m "Added clean target."
+ $ git commit -a -m "...."
git analog of 'hg incoming'.
============================