From 6f37b86829430b4bb00593f89868cb17fae72001 Mon Sep 17 00:00:00 2001 From: Sequoia McDowell Date: Wed, 28 Jan 2015 21:34:23 -0500 Subject: [PATCH] replacing -D with -d in delete example --- guide/raw-content-zhtw/11_merge_tada.html | 4 ++-- guide/raw-content/11_merge_tada.html | 4 ++-- help.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/raw-content-zhtw/11_merge_tada.html b/guide/raw-content-zhtw/11_merge_tada.html index 820bdaa6e6..3b85ebd3a0 100644 --- a/guide/raw-content-zhtw/11_merge_tada.html +++ b/guide/raw-content-zhtw/11_merge_tada.html @@ -16,7 +16,7 @@

步驟:從本機 Merge

$ git merge <BRANCHNAME>

整理一下吧,現在把剛剛已經 mergedfeature branch 刪掉。

-

$ git branch -D <BRANCHNAME>

+

$ git branch -d <BRANCHNAME>

也可以把 branch 從 GitHub 上的 forked repository 中刪除哦:

$ git push <REMOTENAME> --delete <BRANCHNAME>

@@ -45,7 +45,7 @@

撇步

  • 切換正在工作的 branch
  • $ git checkout <BRANCHNAME>
  • 刪除本機的 branch
  • - $ git branch -D <BRANCHNAME> + $ git branch -d <BRANCHNAME>
  • 刪除 remote branch
  • $ git push <REMOTENAME> --delete <BRANCHNAME>
  • remote branch Pull
  • diff --git a/guide/raw-content/11_merge_tada.html b/guide/raw-content/11_merge_tada.html index 5c8d944dda..111aa65828 100644 --- a/guide/raw-content/11_merge_tada.html +++ b/guide/raw-content/11_merge_tada.html @@ -21,7 +21,7 @@

    Step: Merge Locally

    $ git merge <BRANCHNAME>

    Tidy up by deleting your feature branch now that it has been merged.

    -

    $ git branch -D <BRANCHNAME>

    +

    $ git branch -d <BRANCHNAME>

    You can also delete the branch from your fork on GitHub:

    $ git push <REMOTENAME> --delete <BRANCHNAME>

    @@ -54,7 +54,7 @@

    Tips

  • Change the branch you're working on
  • $ git checkout <BRANCHNAME>
  • Delete a local branch
  • - $ git branch -D <BRANCHNAME> + $ git branch -d <BRANCHNAME>
  • Delete a remote branch
  • $ git push <REMOTENAME> --delete <BRANCHNAME>
  • Pull from a remote branch
  • diff --git a/help.txt b/help.txt index 86a8f26d5a..8e72d81159 100644 --- a/help.txt +++ b/help.txt @@ -75,7 +75,7 @@ {bold}Delete a local branch{/bold} - $ git branch -D + $ git branch -d {bold}Delete a remote branch{/bold} @@ -112,4 +112,4 @@ {bold}Remove (delete) a folder{/bold} $ rm -rf - \ No newline at end of file +