$ git clone -n https://gitee.com/newstart-gdlc/nde-session.git /var/lib/mock/dist-an8.9-nde-build-408250-72578/root/chroot_tmpdir/scmroot/nde-session Cloning into '/var/lib/mock/dist-an8.9-nde-build-408250-72578/root/chroot_tmpdir/scmroot/nde-session'... $ git fetch origin ea4069df82c3feb1e501b511a8e5ed53d747e5d2:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-session * [new ref] ea4069df82c3feb1e501b511a8e5ed53d747e5d2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ea4069d Merge branch 'a8' of gitee.com:newstart-gdlc/nde-session into a8