ly15927086342 / Git_branch_learning

learn some git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git_branch_learning

learn some git commands

command line

含义 命令
查看分支 git branch
创建分支 git branch <name>
删除分支 git branch -d <name>
强制删除分支 git branch -D <name>
切换分支 git checkout <name>
创建+切换分支 git checkout -b <name>
合并分支到当前分支 git merge <name>
显示历史分支图 git log --graph --pretty=oneline --abbrev-commit

About

learn some git commands