$ git clone -n https://src.fedoraproject.org/rpms/golang-github-yuin-gopher-lua.git /var/lib/mock/f40-build-2254309-54224/root/chroot_tmpdir/scmroot/golang-github-yuin-gopher-lua Cloning into '/var/lib/mock/f40-build-2254309-54224/root/chroot_tmpdir/scmroot/golang-github-yuin-gopher-lua'... $ git fetch origin 2165b2e8cc53b14209d95225270e2602e0565f4d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-yuin-gopher-lua * [new ref] 2165b2e8cc53b14209d95225270e2602e0565f4d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2165b2e Remove deprecated %patchN syntax