From bf183bfc534af4a38ca45f01e14d38d06b8bb0fe Mon Sep 17 00:00:00 2001 From: ghimi <37005195+ghimi-g@users.noreply.github.com> Date: Mon, 25 Apr 2022 15:11:50 +0800 Subject: [PATCH] =?UTF-8?q?typo(git):=20=E4=BF=AE=E6=AD=A3=E5=AF=B9?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E9=87=8D=E5=91=BD=E5=90=8D=E5=88=86=E6=94=AF?= =?UTF-8?q?=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `git branch -m oldbranchname newname` 重命名分支 --- tools/git.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git.txt b/tools/git.txt index 20d3e92..2ed17c2 100644 --- a/tools/git.txt +++ b/tools/git.txt @@ -156,7 +156,7 @@ git branch 查看已有分支(* 表示当前分支) git merge 合并到当前分支(通常在master分支下操作) git merge --no-commit 合并到当前分支,但不提交 git branch -d 删除分支 -git branch -m oldbranchname newname 删除分支 +git branch -m oldbranchname newname 重命名分支 ##############################################################################