3

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

G. Blake Meike
  • 6,615
  • 3
  • 24
  • 40
eli
  • 205
  • 2
  • 5
  • 12

2 Answers2

3

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

git add --all
Akshay
  • 790
  • 2
  • 8
  • 22
0

Try this:

Git push -f {localbranch} {remotebranch}

Oscar
  • 61
  • 5