Diff of Git
Changes between
revision 3 - add command and
revision 6 - modify
--- Git
+++ Git
@@ -15,17 +15,22 @@
]]]
* create new branch and change branch [[[#!Vim bash
git checkout -b <branch-name>
]]]
* remove branch [[[#!Vim bash
git branch -d <branch-name>
]]]
+ * remove branch on origin [[[#!Vim bash
+git push <원격 저장소 이름(ex> origin)> -d <원격 브랜치 이름>
+]]]
+
* merge target branch to current branch [[[#!Vim bash
-git merget <target-branch-name>
+git merge <target-branch-name>
]]]
* show current branch name [[[#!Vim bash
+git branch
git branch --show-current
]]]