...
1handle git
2
3env GIT_AUTHOR_NAME='Gopher'
4env GIT_AUTHOR_EMAIL='gopher@golang.org'
5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
7
8git init
9
10at 2018-09-27T20:40:31+00:00
11
12git add .gitattributes go.mod export_subst.go
13git commit -m 'initial commit'
14git branch -m master
15
16-- .gitattributes --
17export_subst.go export-subst
18-- go.mod --
19module vcs-test.golang.org/git/export-subst.git
20-- export_subst.go --
21package export_subst
22
23const CommitHash = "$Format:%H$"
View as plain text