Deleted files in git repo still present in bitbucket account

和自甴很熟 提交于 2019-12-13 05:38:28

问题


I had a git repo in Bitbucket. I had cloned that repo inmy local machine using git clone command. All the files were synced in my local machine. I did some changes in that repo like deleted some files, renamed some file using

git rm -rm /directory
git rm /file name
git mv filename changedfilename

and push the changes using

git push -u origin master

After this all the newly added file and renamed files were displayed in the Bitbucket account but old one were also present which I had deleted locally. I had looked at the previous similar questions but hadn't got any satisfactory answer.

Can anyone tell me what mistake I am doing?

来源:https://stackoverflow.com/questions/22655201/deleted-files-in-git-repo-still-present-in-bitbucket-account

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!