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