Hi everyone,
we want to get a print out of all the commit messages with timestamps for all commits done on the project in the last year. I don’t currently see a way to do that besides going through them one by one and hand writing them out which is not feasible due to the number of commits done in that time.
Has this ever come up for anybody or does anybody have any idea of how we might be able to do this?
Thanks in advance!
We managed to find a solution for this in case anybody else is wondering how it can be done.
-
open terminal into server
-
connect to db
/opt/unity_asset_server/bin/psql -U [admin username] -h localhost -d postgres -p 10733
-
List all databases
\l
-
connect to database
\c [database name]
5 view in terminal (don’t forget the semicolon)
select * from changeset;
If you want to dump it out to a text file instead… w/o trailing semicolon. If permission denied may need to open psql session with escalated permissions
select * from changeset \g [filepath/name]