$ git clone -n https://gitee.com/xzyang-anolis/dde-manual-content.git /var/lib/mock/dist-an23-dde-build-347021-70170/root/chroot_tmpdir/scmroot/dde-manual-content Cloning into '/var/lib/mock/dist-an23-dde-build-347021-70170/root/chroot_tmpdir/scmroot/dde-manual-content'... $ git fetch origin 42c17460e36efbf01ded1746ed70c5cacaff2883:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/dde-manual-content * [new ref] 42c17460e36efbf01ded1746ed70c5cacaff2883 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42c1746 pkg init