我想对公共git项目进行一些小改动。
所以我做了:
git clone BLAH
git checkout -b NEWBRANCH
对现有文件进行了更改并执行了
git commit -a -m "did stuff"
它给出了
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
我错过了一步还是什么?
答案 0 :(得分:3)
git clone BLAH
在BLAH目录中创建了一个git repo。只需cd BLAH