Introduced in GitLab 0.8.0
Git file History provides information about the commit history associated with a file.
You can find the History button with each file in a project.
When you select the History button, this information displays:
If you hover over a commit in the UI, the precise date and time of the commit modification are shown.
If you’re running
git from the command line, the equivalent command
git log <filename>. For example, if you want to find
information about a
README.md file in the local directory, run the
git log README.md
Git displays output similar to the following, which includes the commit time in UTC format:
commit 0e62ed6d9f39fa9bedf7efc6edd628b137fa781a Author: Mike Jang <firstname.lastname@example.org> Date: Tue Nov 26 21:44:53 2019 +0000 Deemphasize GDK as a doc build tool commit 418879420b1e3a4662067bd07b64bb6988654697 Author: Marcin Sedlak-Jakubowski <email@example.com> Date: Mon Nov 4 19:58:27 2019 +0100 Fix typo commit 21cc1fef11349417ed515557748369cfb235fc81 Author: Jacques Erasmus <firstname.lastname@example.org> Date: Mon Oct 14 22:13:40 2019 +0000 Add support for modern JS Added rollup to the project commit 2f5e895aebfa5678e51db303b97de56c51e3cebe Author: Achilleas Pipinellis <email@example.com> Date: Fri Sep 13 14:03:01 2019 +0000 Remove gitlab-foss Git URLs as we don't need them anymore [ci skip]