$ git clone -n https://gitee.com/src-opencloudos-rpms/nano.git /var/lib/mock/dist-oc8-build-113340-67850/root/chroot_tmpdir/scmroot/nano Cloning into '/var/lib/mock/dist-oc8-build-113340-67850/root/chroot_tmpdir/scmroot/nano'... $ git fetch origin 6c8f18699281619d228bce810ef07680de4c55f9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nano * [new ref] 6c8f18699281619d228bce810ef07680de4c55f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c8f186 import nano-2.9.8-3.tl3