我想使用Git中的pre-或者post-commit钩子将一个自动生成的文件添加到同一个提交中,依赖于在该提交中 ... #!/bin/sh # #. git/hooks/pre-commit # git add file.xyz.
確定! 回上一頁