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