$ git clone -n https://src.fedoraproject.org/rpms/golang-github-dreamacro-shadowsocks2.git /var/lib/mock/f40-build-1102865-20049/root/chroot_tmpdir/scmroot/golang-github-dreamacro-shadowsocks2 Cloning into '/var/lib/mock/f40-build-1102865-20049/root/chroot_tmpdir/scmroot/golang-github-dreamacro-shadowsocks2'... $ git fetch origin 6177afcb671324c8bd4c104ef3e7ba5f75c165f2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-dreamacro-shadowsocks2 * [new ref] 6177afcb671324c8bd4c104ef3e7ba5f75c165f2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6177afc Rebuild for golang 1.22.0