Sembra che io abbia in qualche modo ottenuto git
in uno stato in cui non commetterà perché un file che è stato cancellato non esiste:git non commetterà perché un file eliminato non esiste
~/src$ git status -u # On branch master # Your branch is ahead of 'origin/master' by 5 commits. # (use "git push" to publish your local commits) # # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # deleted: release-vars.sh # ~/src$ git commit -a fatal: pathspec 'release-vars.sh' did not match any files ~/src$ ls release-vars.sh ls: cannot access release-vars.sh: No such file or directory
Qualche idea su come risolvere questa situazione?
Forse un duplicato di questo? [Git-rm-fatale-pathspec-fatto-qualsiasi-file non-match-] (https://stackoverflow.com/questions/25458306/git-rm-fatal-pathspec-did-not-match-any-files) –
Non proprio, è per un caso speciale che riguarda i file LARGE, non il banale caso di un file. – UpAndAdam
Si tratta di un problema relativo alla distinzione tra maiuscole e minuscole nel file system? – Ivo