Skip to content

Diff of Git

Changes between revision 1 - add git page and revision 2 - add command
--- Git
+++ Git
@@ -1,4 +1,27 @@
 = Git
 
 
 == command
+ * git clone [[[#!Vim bash
+git clone <your repository url>
+]]]
+
+ * create new branch [[[#!Vim bash
+git branch <branch-name>
+]]]
+
+ * change branch [[[#!Vim bash
+git checkout <branch-name>
+]]]
+
+ * create new branch and change branch [[[#!Vim bash
+git checkout -b <branch-name>
+]]]
+
+ * remove branch [[[#!Vim bash
+git branch -d <branch-name>
+]]]
+
+ * merge target branch to current branch [[[#!Vim bash
+git merget <target-branch-name>
+]]]