Skip to content

305088020/learngit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

README.md ##hello

Creating a new branch is quick.

git 常用命令:

查看分支:git branch

创建分支:git branch

切换分支:git checkout

创建+切换分支:git checkout -b

合并某分支到当前分支:git merge

删除分支:git branch -d

强制删除未合并的分支:git branch -d

分支管理策略 git merge --no-ff -m "merge with no-ff" dev

issue-001问题修复

用带参数的git log也可以看到分支的合并情况: git log --graph --pretty=oneline --abbrev-commit