$ git clone -n https://gitee.com/wency_cn/cups.git /var/lib/mock/dist-an23-build-508511-74994/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-an23-build-508511-74994/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin 9cf44e7f63a66029bc6bfc88538298fdb6012ad5:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/cups * [new ref] 9cf44e7f63a66029bc6bfc88538298fdb6012ad5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9cf44e7 Update code from upstream