git工具


git 情景使用

https://github.com/klj35/git-flight-rules/blob/master/README_zh-CN.md

git Subtree

Git Subtree ,submodule

https://einverne.github.io/post/2020/04/git-subtree-usage.html

https://www.atlassian.com/git/tutorials/git-subtree

分离仓库

https://segmentfault.com/a/1190000002548731

https://www.cnblogs.com/chucklu/p/4647625.html

https://lostechies.com/johnteague/2014/04/04/using-git-subtrees-to-split-a-repository/

https://blog.csdn.net/yb223731/article/details/83274446

两个仓库合并成一个, 关于 Git 子树合并

https://docs.github.com/cn/get-started/using-git/about-git-subtree-merges

合并两个已经存在的git仓库

https://www.jianshu.com/p/cf383f2e6207>

添加子仓库

git subtree add –prefix=Assets/WllGraphicsProject wll-graphics-project master –squash

拉去子仓库

git subtree pull –prefix=Assets/WllGraphicsProject wll-graphics-project release/v1.0.0 –squash

推送子仓库

git subtree push –prefix=Assets/WllGraphicsProject wll-graphics-project wll/v2.0.1

以当前节点作为检测起点

git subtree split –prefix=Assets/WllGraphicsProject –rejoin

Git subtree用法与常见问题分析

https://zhuanlan.zhihu.com/p/253148857

GitLFS

https://www.atlassian.com/git/tutorials/big-repositories

https://www.atlassian.com/git/tutorials/git-lfs

Git 常见问题

GitLab 解除受保护的分支

问题一: Gitlab强制推送提示”You are not allowed to force push code to a protected branch on this project.” #11

https://github.com/LeachZhou/blog/issues/11

image-20211221152132060

问题二:git ssh: Could not resolve hostname github.com: No address associated with hostname

解决办法:

ssh -T git@github.com

ping www.github.com

C:\Windows\System32\drivers\etc

20.205.243.166 github.com

image-20220723114334182

sourcetree 密码修改清楚缓存

https://www.jianshu.com/p/8aa97f96f786

image-20211222153315820

文章作者: 血魂S
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 血魂S !
  目录