Text file src/cmd/go/testdata/vcstest/git/insecurerepo.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-03T13:30:35-04:00
    11  git add go.mod
    12  git commit -m 'all: initialize module'
    13  git branch -m master
    14  
    15  at 2019-09-04T14:39:48-04:00
    16  git add main.go
    17  git commit -m 'main: add Go source file'
    18  
    19  git log --oneline --decorate=short
    20  cmp stdout .git-log
    21  
    22  -- .git-log --
    23  6fecd21 (HEAD -> master) main: add Go source file
    24  d1a15cd all: initialize module
    25  -- go.mod --
    26  module vcs-test.golang.org/insecure/go/insecure
    27  
    28  go 1.13
    29  -- main.go --
    30  package main
    31  
    32  func main() {}
    33  

View as plain text