$ git clone -n https://gitee.com/newstart-gdlc/yaml-cpp.git /var/lib/mock/dist-an8.9-nde-build-446850-73015/root/chroot_tmpdir/scmroot/yaml-cpp Cloning into '/var/lib/mock/dist-an8.9-nde-build-446850-73015/root/chroot_tmpdir/scmroot/yaml-cpp'... $ git fetch origin 9a335deb1f3037a47e488a3fc95ca37a91882915:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/yaml-cpp * [new ref] 9a335deb1f3037a47e488a3fc95ca37a91882915 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a335de add yaml-cpp