...

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

Documentation: cmd/go/testdata/vcstest/git

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

View as plain text