摘要:
在空目录下新增 .gitkeep 的空文件 然后在 .gitignore 文件中新增: # Custom /xxdir/a 阅读全文
posted @ 2022-08-24 18:34
myEsn2E9
阅读(28)
评论(0)
推荐(0)
摘要:
在 ubuntu 中如果对某个文件进行了加权限操作,比如 sudo chmod +x up.sh,那么这个操作会产生 git 文件变更,导致 git 会产生未提交的更改,通过以下方式,将文件的 executable 权限加到 git 中,就可以自动给该文件授予 executable 权限: http 阅读全文
posted @ 2022-08-24 18:31
myEsn2E9
阅读(26)
评论(0)
推荐(0)