Skip to content

170 [git] git tips

introduction

https://rogerdudler.github.io/git-guide/index.zh.html


Comments

konosubakonoakua · 2025-04-13T20:01:40Z

handle dos whitespaces

git config --global core.autocrlf input

konosubakonoakua · 2025-04-18T06:00:08Z

file new modes when cloning linux repo to windows

tell git to ignore permission change

git config core.filemode false

konosubakonoakua · 2025-04-22T09:39:17Z

lfs

git lfs install
git lfs pull

konosubakonoakua · 2025-07-11T08:46:32Z

bad object refs/tags/xxx

rm .git/refs/tags/xxx