$ git clone -n https://gitee.com/xzyang-anolis/strace.git /var/lib/mock/dist-an7_9-updates-build-300035-65893/root/chroot_tmpdir/scmroot/strace Cloning into '/var/lib/mock/dist-an7_9-updates-build-300035-65893/root/chroot_tmpdir/scmroot/strace'... $ git fetch origin 59ffb7e7011b1b9742f33387611806bba7820595:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/strace * [new ref] 59ffb7e7011b1b9742f33387611806bba7820595 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 59ffb7e update to strace-4.24-7.el7_9