...

Text file src/cmd/go/testdata/vcstest/git/v3pkg.txt

Documentation: cmd/go/testdata/vcstest/git

     1handle git
     2
     3env GIT_AUTHOR_NAME='Bryan C. Mills'
     4env GIT_AUTHOR_EMAIL='bcmills@google.com'
     5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7
     8git init
     9
    10at 2019-07-15T14:01:24-04:00
    11env GIT_AUTHOR_DATE=2019-07-15T13:59:34-04:00
    12git add go.mod v3pkg.go
    13git commit -a -m 'all: add go.mod with v3 path'
    14git branch -m master
    15git tag 'v3.0.0'
    16
    17git show-ref --tags --heads
    18cmp stdout .git-refs
    19
    20-- .git-refs --
    21a3eab1261b8e3164bcbde9171c23d5fd36e32a85 refs/heads/master
    22a3eab1261b8e3164bcbde9171c23d5fd36e32a85 refs/tags/v3.0.0
    23-- go.mod --
    24module vcs-test.golang.org/git/v3pkg.git/v3
    25
    26go 1.13
    27-- v3pkg.go --
    28package v3pkg

View as plain text