$ git clone -n https://gitee.com/xzyang-anolis/wxGTK3.git /var/lib/mock/dist-an23-build-348966-70441/root/chroot_tmpdir/scmroot/wxGTK3 Cloning into '/var/lib/mock/dist-an23-build-348966-70441/root/chroot_tmpdir/scmroot/wxGTK3'... $ git fetch origin e6055757fa9e796bb57f507d7726f2672fdbbd32:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/wxGTK3 * [new ref] e6055757fa9e796bb57f507d7726f2672fdbbd32 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e605575 pkg init