Documentation says you can only search the default branch. Is there any way to find a source file from any other branches on origin repo?
Hi @iboardman
Yes it is possible to search file across all branches. This can be done using logs.
% git log --all -- '**/my_file.png'
Click here to view more.
I hope it will work for you.
It's not working, can you please guide some other option?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.