Question

I have the same issue as this question, though there is no answer to it and it seems abandoned.

In short I have deleted some files from my local repository, and did git add .. git status says that the files are deleted and the commit also recognizes that I am commiting some changes, just when I push I get the message of Everything up-to-date and the files do not get deleted from my bitbucket account.

Was it helpful?

Solution

If you do a git add . after deleting your files, your deletes are not recognised by git. You have to use

git add -A .

to force an implicit git rm of all deletes files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top