...

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

Documentation: cmd/go/testdata/vcstest/git

     1handle git
     2
     3env GIT_AUTHOR_NAME='Bryan C. Mills'
     4env GIT_AUTHOR_EMAIL='bcmills@google.com'
     5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7
     8git init
     9
    10at 2019-04-03T13:30:35-04:00
    11git add go.mod
    12git commit -m 'all: initialize module'
    13git branch -m master
    14
    15at 2019-09-04T14:39:48-04:00
    16git add main.go
    17git commit -m 'main: add Go source file'
    18
    19git log --oneline --decorate=short
    20cmp stdout .git-log
    21
    22-- .git-log --
    236fecd21 (HEAD -> master) main: add Go source file
    24d1a15cd all: initialize module
    25-- go.mod --
    26module vcs-test.golang.org/insecure/go/insecure
    27
    28go 1.13
    29-- main.go --
    30package main
    31
    32func main() {}

View as plain text