Text file src/cmd/go/testdata/vcstest/git/mainonly.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-09-05T14:07:43-04:00
    11  git add main.go
    12  git commit -a -m 'add main.go'
    13  git branch -m master
    14  
    15  git log --oneline --decorate=short
    16  cmp stdout .git-log
    17  
    18  -- .git-log --
    19  8a27e8b (HEAD -> master) add main.go
    20  -- main.go --
    21  package main
    22  
    23  func main() {}
    24  

View as plain text