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

     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-07-15T14:01:24-04:00
    11  env GIT_AUTHOR_DATE=2019-07-15T13:59:34-04:00
    12  git add go.mod v3pkg.go
    13  git commit -a -m 'all: add go.mod with v3 path'
    14  git branch -m master
    15  git tag 'v3.0.0'
    16  
    17  git show-ref --tags --heads
    18  cmp stdout .git-refs
    19  
    20  -- .git-refs --
    21  a3eab1261b8e3164bcbde9171c23d5fd36e32a85 refs/heads/master
    22  a3eab1261b8e3164bcbde9171c23d5fd36e32a85 refs/tags/v3.0.0
    23  -- go.mod --
    24  module vcs-test.golang.org/git/v3pkg.git/v3
    25  
    26  go 1.13
    27  -- v3pkg.go --
    28  package v3pkg
    29  

View as plain text