X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/c2428e5a74c81c38b1ee9a62f6d30f183cfe1493..8ebae56bad042edf75f7d290469fea166a20d045:/doc/tutorial.txt diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 7183e41..5899c38 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -1,8 +1,6 @@ StGIT Tutorial -============== +############## -Introduction ------------- StGIT is a Python application that provides functionality similar to quilt (i.e. pushing/popping patches to/from a stack) using GIT instead @@ -334,8 +332,11 @@ result in an empty patch (StGIT notifying the user) that can be safely deleted. -A Bit of StGIT Patch Theory -=========================== +Technical Information +===================== + +A bit of StGIT patch theory +--------------------------- We assume that a patch is a diff between two nodes - bottom and top. A node is a commit SHA1 id or tree SHA1 id in the GIT terminology: @@ -374,8 +375,9 @@ The above operation allows easy patch re-ordering. Removing (popping) a patch from the stack is done by simply setting the Nst to Nb. -.git/ Directory Structure +Layout of the .git directory +---------------------------- HEAD -> refs/heads/ objects/