fontendNote
  • docs
  • sources
    • others
      • 数据结构与算法
        • 第一章:绪论
      • 英语阅读积累词汇
      • git
        • 常用Git命令与技巧
        • sourcetree一直提示输入密码的终极解决方案(亲测有效)
      • case
        • 曲线编辑器
          • canvas实现曲线编辑器
      • 计算机常见单词
    • ts
      • ts 配置参考(带注释)
  • source
    • _about
      • 你可能不知道的 vscode 使用技巧
    • _posts
      • css
        • CSS 优化细则
        • sass
          • sass学习笔记
        • 《css世界》书摘
      • js
        • dom
          • 常用js页面跳转方式
          • 跨浏览器的javascript中鼠标滚轮事件
        • performance
          • js性能优化注意事项
      • node
        • npm-package
          • chokidar
        • node中获取正在运行的全部进程数据
        • node中对路径分隔符的兼容性处理
      • tools
        • 你可能不知道的 vscode 使用技巧
      • leetcode
        • 无重复字符的最长子串
        • 题目
  • scaffolds
    • page
    • post
    • draft
Powered by GitBook
On this page

Was this helpful?

  1. sources
  2. others
  3. git

常用Git命令与技巧

仓库在收到别人的 pr 后可以拉取 pr 上的对应代码来测试审核,其中拉取的命令为:

git fetch origin pull/xxx/head:pr
//(xxx == pr 序号,pr == 名字)

设置换行符,在遇到总有文件显示修改变化时,,,,

git config --global core.autocrlf false
PreviousgitNextsourcetree一直提示输入密码的终极解决方案(亲测有效)

Last updated 6 years ago

Was this helpful?