I am experimenting with using git along with Git LFS to version control my filmmaking workflow.
I have two questions:
1) Is there a way I can track all versions of a file? git log <path/to/file>
gives me all the commits that involved that file, and that is great, but I would also love to find a way that lists only the blobs that refer to the file. They are all in .git/objects as git rev-list --objects --all
shows, but I want to limit the results to showing only the blobs that relate to the file I want.
2) Using the data generated by rev-list, is there a way for me to sort of generate a human readable version number for the files, maybe something that uses the name of the file and the date it was committed to maybe add a note or a tag that looks like "filename_v001" or "filename_commitDate", as this would be more readable than the SHA?
All I want to achieve with that is something that works like tags do on a commit, but for a file.
I am really not sure if these things can be done or not as I am totally new to git and still trying to figure it out and see if it fits my needs.