Text file src/cmd/go/testdata/vcstest/git/hello.txt
1 handle git 2 3 env GIT_AUTHOR_NAME=bwk 4 env GIT_AUTHOR_EMAIL=bwk 5 env GIT_COMMITTER_NAME='Russ Cox' 6 env GIT_COMMITTER_EMAIL='rsc@golang.org' 7 8 git init 9 10 at 2017-09-21T21:05:58-04:00 11 git add hello.go 12 git commit -a -m 'hello' 13 git branch -m master 14 15 git log --oneline --decorate=short 16 cmp stdout .git-log 17 18 -- .git-log -- 19 fc3a09f (HEAD -> master) hello 20 -- hello.go -- 21 package main 22 23 func main() { 24 println("hello, world") 25 } 26