2
First search: I need to find a branch or commit that has a file that was lost... but I have multiple branches and multiple commits in each of these branches...
The file created would be called: projecs/web-sistema/js/add-script-android-platform.js
, there is some command or way to track this file within the entire GIT structure, without having to open each branch and keep looking for each commit on https://dev.azure.com/?
details: the branches are more or less like this:
feature/sprint_1/create-platform, feature/sprint_2/modify-platform ...
Second search: Maybe this file is not in the project, it may have been created by the mapping of Gulp, what I would have to find then would be all the logs of gulpfile.js that have this mapping internally.
I know if I do this, I’ll have all the file logs:
git log gulfile.js
But you would have to filter it just where the path continuation might have this nomenclature:
'add-script-android-platform.js'
I tried to these commands but none worked.
You remember the name and path of the file?
– Felipe Avelar
This: projecs/web-system/js/add-script-android-Platform.js, I just don’t know the branch or the commit. , the file is mapped to the HTML header, but is not in the project. Probably, this branch was not merged with master. I need to locate him.
– Ivan Ferrer
And you don’t remember any branch that might have deleted this file?
– Felipe Avelar
I’m suspicious that it has another name mapped in Gulp, and it was generated with that name, and I probably have to look for that mapping inside gulpfile.js that is modified in a branch that I don’t know what is.
– Ivan Ferrer