I am working with Git, I want to get the full path of a specific file on a Git server that is cloned to a local repo.
Example: The file in the local repo is:
/home/.../source/android/frameworks/av/media/libstagefright/CameraSource.cpp
I want to get the link to this file on the Git server like this:
https://android.git.sec..../plugins/gitiles/platform/frameworks/av/+/refs/heads/main/o-one/media/libstagefright/CameraSource.cpp
How can I do that with a Bash command on Linux?