eli
eli

Reputation: 205

Git push not delete file from repo

I am working on a Git repo in bitbucket

I deleted 2 files and did push command and. I still see the files in the repo.

I always push to the master branch

Upvotes: 3

Views: 5022

Answers (2)

Akshay
Akshay

Reputation: 840

Add all the deleted changes using the command given below and then push it.

git add --all

Upvotes: 3

Oscar
Oscar

Reputation: 61

Try this:

Git push -f {localbranch} {remotebranch}

Upvotes: 0

Related Questions