Git
submodule¶
| Bash | |
|---|---|
- How do I move an existing Git submodule within a Git repository? - Stack Overflow
Since git 1.8.5,
git mv old/submod new/submodworks as expected and does all the plumbing for you. You might want to use git 1.9.3 or newer, because it includes fixes for submodule moving.
LFS¶
- LFS能不用尽量不用12
- LFS使用S33
- git lfs - Move Git LFS tracked files under regular Git - Stack Overflow
| Bash | |
|---|---|
加密¶
原则上来说,不应该在里面放密钥等敏感信息
- git-remote-gcrypt - 全repo加密,最终加密成一个文件,repo太大会被LFS卡
- transcrypt - 2.3.04支持不同文件不同密钥
- git-crypt - 加密部分文件
- Removing sensitive data from a repository #missing_semester