From 11fd45791bdf2472b13795eba8b46e0d9b7cdad3 Mon Sep 17 00:00:00 2001 From: luozexuan Date: Fri, 14 Aug 2015 14:49:32 +0800 Subject: [PATCH] update Commands.md --- Commands.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Commands.md b/Commands.md index cb41a00..cbb9454 100644 --- a/Commands.md +++ b/Commands.md @@ -30,7 +30,7 @@ - [`git setup`](#git-setup) - [`git touch`](#git-touch) - [`git obliterate`](#git-obliterate) - - [`git feature|refactor|bug|chore`](#git-feature) + - [`git feature|refactor|bug|chore`](#git-feature|refactor|bug|chore) - [`git local-commits`](#git-local-commits) - [`git archive-file`](#git-archive-file) - [`git missing`](#git-missing) @@ -69,7 +69,7 @@ $ git extras update Sets up the `gh-pages` branch. (See [GitHub Pages](http://pages.github.com/) documentation.) -## git feature +## git feature|refactor|bug|chore Create the given feature, refactor, bug or chore branch `name`: @@ -91,7 +91,7 @@ $ git checkout master $ git feature finish dependencies ``` -All of this works with `feature`, `bug`, or `refactor`. +All of this works with `feature`, `bug`, `chore` or `refactor`. ## git contrib @@ -213,6 +213,8 @@ $ git effort --above 5 $ git effort bin/* lib/* ``` +## git repl + GIT read-eval-print-loop: ```bash @@ -516,11 +518,10 @@ $ git merge-into [src] dest ## git graft -Merge commits from `src-branch` into `dest-branch`. (`dest-branch` defaults to `master`.) +Merge commits from `src-branch` into `dest-branch`. ```bash -$ git graft new_feature dev -$ git graft new_feature +$ git graft new_feature master ``` ## git squash