| handle git | |
| env GIT_AUTHOR_NAME='Sam Thanawalla' | |
| env GIT_AUTHOR_EMAIL='samthanawalla@google.com' | |
| env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME | |
| env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL | |
| at 2019-10-07T14:15:32-04:00 | |
| git init | |
| git add foo/subdir | |
| git commit -m 'initial commit' | |
| git branch -m master | |
| git tag foo/subdir/v1.2.3 | |
| -- foo/subdir/go.mod -- | |
| module vcs-test.golang.org/go/gitreposubdir | |
| go 1.23 | |
| -- foo/subdir/hello.go -- | |
| package greeter | |
| func Hello() string { | |
| return "hello, world" | |
| } |