Soft&Skills

Learning Git

2026-05-01. Category & Tags: Soft&Skills

See also: /git-in-case-of 【警告】:使用 AI-IDE 编程前,必须学会手动 git! 要求: 必须能够熟练使用 : /git-in-case-of 中的 “Frequently Used” git add … , co …, rm …, commit … 以及无参的 git pull / push。 能够使用: git log 无参或常用的 1-3 个参数; git br …;git remote 能说出相关功能:git reset –soft HEAD~1; git blame; 能说出常见的坑:git stash; git mergetool. Git Tutorial (VSCode + Gitee) 标准初级教程: 推荐:零代码git教程 VSCode+Gitee 一个视频教会你所有常用操作 (22 分钟) by 铭知顾问 up。 或者你一定要用 GitHub:Visual Studio Code自带Git工具使用教程 (github需要网络)15分钟,其中 1-7 分钟 + 11-14 分钟 是个人使用必备基础 ( 7-11 分钟一般是团队协作必备基础,单人可不看)。 提示:实验团队开发,可以用自己电脑 VSCode 作为开发环境 + 别人电脑作为生产环境另开一个 VSCode。注意区分两边的 VSCode。 如果上边这个看不懂,可以看这几个: 给傻子的Git教程(国内版)40分钟 (注意:视频使用公开 Repo 仅供学习,实际工程使用私有 Repo). ...

Git In Case Of

2013-05-01. Category & Tags: Soft&Skills Soft&Skills

Motivation # Trending in 2019: [ref] Config # git config -l # ls all configs Frequently Used # git help <command> git show # show content of a commit/file-obj. ref:is.gd/KYM5mo git show $id git show object git show $REV:$FILE git show somebranch:from/the/root/myfile.txt git show HEAD^^^:test/test.py git co -- <file> # discard modifications in workspace // co = Check Out git co . # discard modifications for all (previously existing?) files in workspace git co ea083b . ...