In gitlab, git modifies the commit date and other operation records

Switch to a commit version:

git checkout xxxxxxx

Create a tag and modify the tag submission time:

GIT_COMMITTER_DATE="2022-06-06T09:30:10" git tag -a v0.1.2 -m 'v0.1.2 release'

submit tag:

git push origin v0.1.2

Delete local tags:

git tag -d v0.1.2

Delete remote tag:

git push origin :refs/tags/v0.1.2

commit and modify the submission time:

GIT_COMMITTER_DATE="2022-08-09T06:00:00" git commit --date="2022-08-09T06:00:00"

The operation of modifying the time cannot modify the gitlab system activity log records, but it will display the time you modified in gitlab commits

Guess you like

Origin blog.csdn.net/catscanner/article/details/128447459