...
1handle git
2
3env GIT_AUTHOR_NAME='Sam Thanawalla'
4env GIT_AUTHOR_EMAIL='samthanawalla@google.com'
5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
7
8at 2019-10-07T14:15:32-04:00
9
10git init
11
12git add foo/subdir
13git commit -m 'initial commit'
14git branch -m master
15git tag foo/subdir/v1.2.3
16
17-- foo/subdir/go.mod --
18module vcs-test.golang.org/go/gitreposubdir
19
20go 1.23
21-- foo/subdir/hello.go --
22package greeter
23
24func Hello() string {
25 return "hello, world"
26}
View as plain text