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