Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-reference.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon F. Willbanks <sfw@simeonfosterwillbanks.com>2014-01-10 07:25:52 +0400
committerSimeon F. Willbanks <sfw@simeonfosterwillbanks.com>2014-01-10 07:35:38 +0400
commit2b328650e926e9915f49e5afa35a99ec9a59e62d (patch)
tree2083295cad99747f5c64f6c2c2f38de422566f7f
parente97fc7eeebb7ddde87e994586e0c6ff69200d124 (diff)
Add anchors to subsections
e.g. /inspect/#log-s
-rw-r--r--basic/index.html10
-rw-r--r--branching/index.html8
-rw-r--r--inspect/index.html6
-rw-r--r--remotes/index.html5
4 files changed, 29 insertions, 0 deletions
diff --git a/basic/index.html b/basic/index.html
index 6c765b5..bfaa278 100644
--- a/basic/index.html
+++ b/basic/index.html
@@ -266,6 +266,7 @@ index d62ac43..8d15d50 100644
</p>
<h4>
+ <a name="diff-cached"></a>
git diff --cached
<small>show diff of staged changes</small>
</h4>
@@ -313,6 +314,7 @@ index d62ac43..8d15d50 100644
</pre>
<h4>
+ <a name="diff-head"></a>
git diff HEAD
<small>show diff of all staged or unstaged changes</small>
</h4>
@@ -372,6 +374,7 @@ index 2aabb6e..2ae9ba4 100644
</pre>
<h4>
+ <a name="diff-stat"></a>
git diff --stat
<small>show summary of changes instead of a full diff</small>
</h4>
@@ -536,6 +539,7 @@ Further paragraphs come after blank lines.
is easier for them to see what you are doing and why.</p>
<h4>
+ <a name="commit-a"></a>
git commit -a
<small>automatically stage all tracked, modified files before the commit</small>
</h4>
@@ -611,6 +615,7 @@ Further paragraphs come after blank lines.
</p>
<h4>
+ <a name="reset-head"></a>
git reset HEAD
<small>unstage files from index and reset pointer to HEAD</small>
</h4>
@@ -690,6 +695,7 @@ M hello.rb
<code>--soft</code> and <code>--hard</code>.</p>
<h4>
+ <a name="reset-soft"></a>
git reset --soft
<small>moves HEAD to specified commit reference, index and staging are untouched</small>
</h4>
@@ -720,6 +726,7 @@ nothing to commit (working directory clean)
before you roll in the file changes into the same commit.</p>
<h4>
+ <a name="reset-hard"></a>
git reset --hard
<small>unstage files AND undo any changes in the working directory since last commit</small>
</h4>
@@ -869,6 +876,7 @@ nothing to commit (working directory clean)
</pre>
<h4>
+ <a name="stash-list"></a>
git stash list
<small>view stashes currently on the stack</small>
</h4>
@@ -902,6 +910,7 @@ stash@{1}: WIP on master: 5857ac1 hello with a flower
</pre>
<h4>
+ <a name="stash-apply"></a>
git stash apply
<small>grab the item from the stash list and apply to current working directory</small>
</h4>
@@ -935,6 +944,7 @@ no changes added to commit (use "git add" and/or "git commit -a")
</p>
<h4>
+ <a name="stash-drop"></a>
git stash drop
<small>remove an item from the stash list</small>
</h4>
diff --git a/branching/index.html b/branching/index.html
index 27fd588..ffa413c 100644
--- a/branching/index.html
+++ b/branching/index.html
@@ -65,6 +65,7 @@ layout: reference
</p>
<h4>
+ <a name="branch-list"></a>
git branch
<small>list your available branches</small>
</h4>
@@ -89,6 +90,7 @@ $ git branch
</p>
<h4>
+ <a name="branch-create"></a>
git branch (branchname)
<small>create a new branch</small>
</h4>
@@ -146,6 +148,7 @@ README hello.rb more.txt test.txt
</pre>
<h4>
+ <a name="branch-last-commit"></a>
git branch -v
<small>see the last commit on each branch</small>
</h4>
@@ -161,6 +164,7 @@ README hello.rb more.txt test.txt
</pre>
<h4>
+ <a name="branch-create-switch"></a>
git checkout -b (branchname)
<small>create and immediately switch to a branch</small>
</h4>
@@ -212,6 +216,7 @@ README hello.rb more.txt test.txt
aside and then come back to.</p>
<h4>
+ <a name="branch-delete"></a>
git branch -d (branchname)
<small>delete a branch</small>
</h4>
@@ -231,6 +236,7 @@ Deleted branch testing (was 78b2670).
</pre>
<h4>
+ <a name="branch-delete-remote"></a>
git push (remote-name) :(branchname)
<small>delete a remote branch</small>
</h4>
@@ -310,6 +316,7 @@ Fast-forward
</pre>
<h4>
+ <a name="merge-complex"></a>
more complex merges
</h4>
@@ -411,6 +418,7 @@ HiWorld.hello
that was done in the other branch. Pretty cool.</p>
<h4>
+ <a name="merge-conflicts"></a>
merge conflicts
</h4>
diff --git a/inspect/index.html b/inspect/index.html
index cbf46f4..152b4bf 100644
--- a/inspect/index.html
+++ b/inspect/index.html
@@ -48,6 +48,7 @@ layout: reference
</p>
<h4>
+ <a name="log-author"></a>
git log --author
<small>look for only commits from a specific author</small>
</h4>
@@ -72,6 +73,7 @@ b532581 make "git unpack-file" a built-in
</pre>
<h4>
+ <a name="log-date"></a>
git log --since --before
<small>filter commits by date committed</small>
</h4>
@@ -99,6 +101,7 @@ b6c8d2d Documentation/remote-helpers: Add invocation section
</pre>
<h4>
+ <a name="log-grep"></a>
git log --grep
<small>filter commits by commit message</small>
</h4>
@@ -176,6 +179,7 @@ e96e400 Simon Hausmann git-p4: Fix submit user-interface.
</pre>
<h4>
+ <a name="log-s"></a>
git log -S
<small>filter by introduced diff</small>
</h4>
@@ -211,6 +215,7 @@ Date: Tue Apr 13 22:31:12 2010 +0200
</pre>
<h4>
+ <a name="log-patch"></a>
git log -p
<small>show patch introduced at each commit</small>
</h4>
@@ -271,6 +276,7 @@ index d053cc8..9103e27 100644
of commits before merging them or releasing something.</p>
<h4>
+ <a name="log-stat"></a>
git log --stat
<small>show diffstat of changes introduced at each commit</small>
</h4>
diff --git a/remotes/index.html b/remotes/index.html
index 7815353..27a2f84 100644
--- a/remotes/index.html
+++ b/remotes/index.html
@@ -65,6 +65,7 @@ layout: reference
you care about.</p>
<h4>
+ <a name="remote-list"></a>
git remote
<small>list your remote aliases</small>
</h4>
@@ -89,6 +90,7 @@ origin git@github.com:github/git-reference.git (push)
protocols for reads and writes.</p>
<h4>
+ <a name="remote-add"></a>
git remote add
<small>add a new remote repository of your project</small>
</h4>
@@ -122,6 +124,7 @@ github git@github.com:schacon/hw.git (push)
</p>
<h4>
+ <a name="remote-remove"></a>
git remote rm
<small>removing an existing remote alias</small>
</h4>
@@ -147,6 +150,7 @@ github git@github.com:schacon/hw.git (push)
</pre>
<h4>
+ <a name="remote-rename"></a>
git remote rename [old-alias] [new-alias]
<small>rename remote aliases</small>
</h4>
@@ -174,6 +178,7 @@ origin git@github.com:schacon/hw.git (push)
</p>
<h4>
+ <a name="remote-update"></a>
git remote set-url
<small>update an existing remote URL</small>
</h4>