Published
- 1 min read
error: `src/` does not have a commit checked out fatal: adding files failed
The solution for this is noted below
error: src/
does not have a commit checked out fatal: adding files failed
Solution
#You have to remove all .git files in subdirectories to fix git error
rm -rf */.git
Try other methods by searching on the site. That is if this doesn’t work