Skip to content

一个实践git指令的项目,用来掌握进阶操作和灵活提交修改版本的能力。(A project that practices git instructions and is used to master advanced operations and the ability to flexibly submit modified versions.)

License

Notifications You must be signed in to change notification settings

viozbe/gitPractice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitPractice

A project that practices git instructions and is used to master advanced operations and the ability to flexibly submit modified versions.

尝龟

  • 本地建立项目,上传到远程仓库
  • 拉取并克隆远程仓库的项目
  • 添加文件入暂存区,生成提交
  • 提交/拉取远程仓库
  • 创建/删除本地分支和远程分支

进阶

  • 用merge合并分支,发生冲突时如何解决冲突,撤销避免冲突
  • 用rebase合并分支,发生冲突时如何解决冲突,撤销避免冲突
  • 用reset回退提交
  • 用stash暂存工作区内容以及回复
  • 用cherry-pick合并指定的commit
  • 修改分支前一个commit
  • 修改分支前面某一个/一些commit
  • 丢弃前面的commit

todo

  • 抵消前面的某一个commit
  • 打标签
  • 删除指定文件

About

一个实践git指令的项目,用来掌握进阶操作和灵活提交修改版本的能力。(A project that practices git instructions and is used to master advanced operations and the ability to flexibly submit modified versions.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published