1

I have a master and development branch . I did some commits to the development branch and did a push to the remote repository as shown

git checkout development git rm AbstractContent.java git push -u origin development . 

I observed git rm AbstractContent.java command the file got deleted locally , but inside remote repository it is still present .

Please let me know how can i delete the file both locally and as well as in remote repository .

1 Answer 1

5

Commit before you push.

git rm AbstractContent.java git commit -m "Remove AbstractContent" git push -u origin development 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.