【备忘录】Git 常用命令速查表

在这里插入图片描述
git reset
git reset --hard HEAD
git reset tag
git reset
git stash
git stash pop
git checkout filename

git remote
git remote -v
git remote add origin https://some-git-remote-url
git push
git push -u origin master
git push origin branchname
git pull
git pull origin branchname
git fetch && git merge origin/remote-branch-name
git fetch -p
git branch -a

相关推荐

  1. Linux 命令

    2024-03-11 12:50:05       19 阅读
  2. Git

    2024-03-11 12:50:05       33 阅读
  3. Linux 命令

    2024-03-11 12:50:05       34 阅读
  4. Linux系统——命令

    2024-03-11 12:50:05       20 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-11 12:50:05       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-11 12:50:05       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-11 12:50:05       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-11 12:50:05       20 阅读

热门阅读

  1. 为什么不推荐使用外键

    2024-03-11 12:50:05       27 阅读
  2. vite项目修改依赖不更新,清除依赖缓存

    2024-03-11 12:50:05       17 阅读
  3. linux 入门(七)-ffmpeg使用

    2024-03-11 12:50:05       20 阅读
  4. 单调栈(经典例题)找最近的小数

    2024-03-11 12:50:05       21 阅读
  5. 学AI,3种人,3种学法

    2024-03-11 12:50:05       20 阅读
  6. 突破编程_C++_设计模式(观察者模式)

    2024-03-11 12:50:05       23 阅读
  7. 高频设计模式

    2024-03-11 12:50:05       20 阅读
  8. 基于RBF神经网络的多输入单输出回归分析

    2024-03-11 12:50:05       22 阅读
  9. 前端工程部署步骤小记

    2024-03-11 12:50:05       19 阅读
  10. 如何下载网页中嵌套的PDF

    2024-03-11 12:50:05       22 阅读
  11. Unity3D 常用得内置函数(Cg与GLSL)详解

    2024-03-11 12:50:05       18 阅读