极简git工作流

  1. commit

    大文件传输 LFSVerified commit

    git add .
    git commit -m "whoohaahaaha!"
    
  2. fetch

  3. pull

<aside>

参考品:

https://docs.scipy.org/doc/scipy/dev/contributor/development_workflow.html

</aside>


Git & GitHub

Git\\usr\\bin\\bash.exe 在命令行中调用即可进入 Git-Bash

目的:文档、代码版本控制;公开发布;多人协作。

主要方法:(git)不同想法|理解方法对应不同的brunch,合理的保留(obsidian)电子化笔记。本地文档(同步?云)每次完成工作进行上传,还是自动同步?

网络问题:git单独使用的网络,需要配置。

git config --list
git config --global user.name "xxx"
git config --global core.editor "nano"
git config --global --edit

Untitled

git clone --depth 1 --single-branch <repository-url>

注意重启git,v2ray及相关网络。

Git和GitHub的一些基本操作|多人协作

多人协作:不同分支的控制,功能合并冲突的预见性编程(使用todo,合理的划分类);如果每人修改的位置不同,没人可以先fetch再commit再sync,这样每个人的修改都能同步。


.gitignore 模板