I want retrieve the commit id of a file readmeTest.txt
through Invantive SQL like so:
select * from repository_files(29, file-path, 'master')
But for this to work I need a project-id
, file-path
and a ref
.
I know my project-id
(I got it from select * from projects
) and my ref
(master
branch) but I don’t know where I can find the path to the file I want to retrieve information of.
So where can I find the value of file-path
and ref
?
This is my repository directory tree, where I can see the files exist: