外网Lfs设置
git config --global lfs.transfer.enablehrefrewrite true
(lfs默认是不开启路径重写的,需要开启一下。)
git config --global url.https://gitlab.fy2.me:[port].insteadOf https://gitlab.fy2.me
(外网拉取需要端口给加上去)
拉取:
git pull
git lfs pull
设置:
git config --global --edit
Git重置操作:
git reset --hard
Git查看状态:
git status