Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top