我想对一个公共的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).
我漏了一步还是什么?
git clone BLAH
在BLAH目录下创建了一个git repo。只要输入cd BLAH