Text file src/cmd/go/testdata/vcstest/git/v2repo.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-04-03T11:52:15-04:00
    11  env GIT_AUTHOR_DATE=2019-04-03T11:44:11-04:00
    12  git add go.mod
    13  git commit -m 'all: add go.mod'
    14  git branch -m master
    15  git tag 'v2.0.0'
    16  
    17  git show-ref --tags --heads
    18  cmp stdout .git-refs
    19  
    20  -- .git-refs --
    21  203b91c896acd173aa719e4cdcb7d463c4b090fa refs/heads/master
    22  203b91c896acd173aa719e4cdcb7d463c4b090fa refs/tags/v2.0.0
    23  -- go.mod --
    24  module vcs-test.golang.org/go/v2module/v2
    25  
    26  go 1.12
    27  

View as plain text