...

Text file src/cmd/go/testdata/vcstest/git/v2sub.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 2022-02-22T15:53:33-05:00
    11git add v2sub.go v2
    12git commit -m 'all: add package v2sub and v2sub/v2'
    13git branch -m main
    14git tag v2.0.0
    15
    16at 2022-02-22T15:55:07-05:00
    17git add README.txt
    18git commit -m 'v2sub: add README.txt'
    19
    20git show-ref --tags --heads
    21cmp stdout .git-refs
    22
    23-- .git-refs --
    2480beb17a16036f17a5aedd1bb5bd6d407b3c6dc5 refs/heads/main
    255fcd3eaeeb391d399f562fd45a50dac9fc34ae8b refs/tags/v2.0.0
    26-- v2/go.mod --
    27module vcs-test.golang.org/git/v2sub.git/v2
    28
    29go 1.16
    30-- v2/v2sub.go --
    31package v2sub
    32-- v2sub.go --
    33package v2sub
    34-- README.txt --
    35This root module lacks a go.mod file.

View as plain text