Pio
Pio

Reputation: 4062

Files kept in bitbucket after delete

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.

Upvotes: 0

Views: 231

Answers (1)

BetaRide
BetaRide

Reputation: 16894

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.

Upvotes: 1

Related Questions