summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/vcstest/git/hello.txt
blob: 17ba09cd9e9f4e64d6399f7949e74d3aae2fbc0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
handle git

env GIT_AUTHOR_NAME=bwk
env GIT_AUTHOR_EMAIL=bwk
env GIT_COMMITTER_NAME='Russ Cox'
env GIT_COMMITTER_EMAIL='rsc@golang.org'

git init

at 2017-09-21T21:05:58-04:00
git add hello.go
git commit -a -m 'hello'
git branch -m master

git log --oneline --decorate=short
cmp stdout .git-log

-- .git-log --
fc3a09f (HEAD -> master) hello
-- hello.go --
package main

func main() {
	println("hello, world")
}