...

Text file src/cmd/go/testdata/vcstest/git/commit-after-tag.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-07-15T17:16:47-04:00
    11git add go.mod main.go
    12git commit -m 'all: add go.mod and main.go'
    13git branch -m master
    14git tag v1.0.0
    15
    16at 2019-07-15T17:17:27-04:00
    17cp _next/main.go main.go
    18git add main.go
    19git commit -m 'add init function'
    20
    21git log --oneline --decorate=short
    22cmp stdout .git-log
    23
    24-- .git-log --
    25b325d82 (HEAD -> master) add init function
    268da67e0 (tag: v1.0.0) all: add go.mod and main.go
    27-- go.mod --
    28module vcs-test.golang.org/git/commit-after-tag.git
    29
    30go 1.13
    31-- main.go --
    32package main
    33
    34func main() {}
    35-- _next/main.go --
    36package main
    37
    38func main() {}
    39func init() {}

View as plain text