...

Text file src/cmd/go/testdata/vcstest/git/retract-pseudo.txt

Documentation: cmd/go/testdata/vcstest/git

     1handle git
     2
     3env GIT_AUTHOR_NAME='Jay Conrod'
     4env GIT_AUTHOR_EMAIL='jayconrod@google.com'
     5env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
     6env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
     7
     8at 2020-10-09T13:37:47-04:00
     9
    10git init
    11
    12git add go.mod p.go
    13git commit -m 'create module retract-pseudo'
    14git branch -m main
    15git tag v1.0.0
    16
    17git mv p.go q.go
    18git commit -m 'trivial change'
    19
    20git show-ref --tags --heads
    21cmp stdout .git-refs
    22
    23-- .git-refs --
    24713affd19d7b9b6dc876b603017f3dcaab8ba674 refs/heads/main
    2564c061ed4371ef372b6bbfd58ee32015d6bfc3e5 refs/tags/v1.0.0
    26-- go.mod --
    27module vcs-test.golang.org/git/retract-pseudo.git
    28
    29go 1.16
    30
    31retract v1.0.0
    32-- p.go --
    33package p

View as plain text