I have a project a month ago. It has one master branch, which commits every day. We need to find a class that is not there now. It is not on my computer (there is one archive copy), but I cannot find it in the remote repository - there is no “find file” option in the bitbucket interface. Explain in steps how to do this.

  • I found the file in the following way: I went over the commits with my hands until I found its mention. Then he clicked ShowSource and saw all the contents. I don’t like this method because there is a possibility that the file will not be found, but, apparently, I’ll have to accept it. PS I did not watch the answer, now I will look. - Ilia Ivanov

1 answer 1

Clone your repository and work with it fully. If it is git, then:

git clone https://YOUR_LOGIN@bitbucket.org/YOUR_LOGIN/REPOSITORY_NAME.git 

And then look for:

 git log --since="2016-06-22" path_to_chanded_file