1 handle git
2
3 env GIT_AUTHOR_NAME='Bryan C. Mills'
4 env GIT_AUTHOR_EMAIL='bcmills@google.com'
5 env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
6 env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
7
8 git init
9
10 at 2019-10-07T14:15:32-04:00
11 git add go.mod
12 git commit -m 'add go.mod file without go source files'
13 git branch -m master
14 git tag v2.0.0
15
16 git log --oneline --decorate=short
17 cmp stdout .git-log
18
19 -- .git-log --
20 122733c (HEAD -> master, tag: v2.0.0) add go.mod file without go source files
21 -- go.mod --
22 module vcs-test.golang.org/git/empty-v2-without-v1.git/v2
23
24 go 1.14
25
View as plain text