diff --git a/03-UnrealEngine/Gameplay/Gameplay/Git & LFS 笔记.md b/03-UnrealEngine/Gameplay/Gameplay/Git & LFS 笔记.md index 1cf9837..dca93aa 100644 --- a/03-UnrealEngine/Gameplay/Gameplay/Git & LFS 笔记.md +++ b/03-UnrealEngine/Gameplay/Gameplay/Git & LFS 笔记.md @@ -18,8 +18,15 @@ git push origin master Merge:https://github.com/KennethBuijssen/MergeAssist Diff:https://github.com/SRombauts/UE4GitPlugin +# Git Clone --depth 1 以及转化成完整仓库 +git clone --depth 1 https://github.com/EpicGames/UnrealEngine.git +git clone --depth 1 --branch 4.25-plus https://github.com/EpicGames/UnrealEngine.git +转换成完整仓库的方法: +git pull --unshallow +再执行命令,修改fetch设置获取所有分支即可。 +git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" # LFS upload missing objects 解决 输入命令,即可 ```