From 60b1b583a9cc039e9125cf99d01c335674aed5fc Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Sun, 17 Dec 2017 13:33:27 -0500 Subject: [PATCH] Adding submodule section --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0280715..a4efc98 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,10 @@ For clarity's sake all examples in this document use a customized bash prompt in - [Finding](#finding) - [I want to find a string in any commit](#i-want-to-find-a-string-in-any-commit) - [I want to find by author/committer](#i-want-to-find-by-authorcommitter) - - [Miscellaneous Objects](#miscellaneous-objects) + - [Submodules](#submodules) - [Clone all submodules](#clone-all-submodules) - [Remove a submodule](#remove-a-submodule) + - [Miscellaneous Objects](#miscellaneous-objects) - [Delete tag](#delete-tag) - [Recover a deleted tag](#recover-a-deleted-tag) - [Deleted Patch](#deleted-patch) @@ -1156,8 +1157,7 @@ $ git log --committer= Keep in mind that author and committer are not the same. The `--author` is the person who originally wrote the code; on the other hand, the `--committer`, is the person who committed the code on behalf of the original author. - -## Miscellaneous Objects +## Submodules ### Clone all submodules @@ -1184,6 +1184,10 @@ $ git rm --cached submodulename $ rm -rf .git/modules/submodulename ``` + +## Miscellaneous Objects + + ### Delete tag