Toggle navigation
KeQian Blog
Home
About
Tags
KeQian Blog
Thinking will not overcome fear but action will.
Git指令整理
不适合阅读的整理的一些个人常用的 Git 指令
随便整理的一些自用的Git指令 GitHub创建仓库提示代码 echo "# 项目名" >> README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:qiubaiying/项目名.git git push -u orig...
Posted by KeQian on October 24, 2024
Git 代码回滚
回滚代码的正确姿势
并不适合阅读的个人文档。 git revert 和 git reset 的区别 先看图: sourceTree 中 revert 译为提交回滚,作用为忽略你指定的版本,然后提交一个新的版本。新的版本中已近删除了你所指定的版本。 reset 为 重置到这次提交,将内容重置到指定的版本。git reset 命令后面是需要加2种参数的:–-hard 和 –-soft。这条命令默认...
Posted by KeQian on October 24, 2024
FEATURED TAGS
Git
ABOUT ME
Goals determine what you going to be!
知
✉️ 765197310@qq.com
FRIENDS
Apple
Apple Developer