$ git clone -n https://gitee.com/xuchun-shang/udma.git /var/lib/mock/dist-an8.8-build-329333-69157/root/chroot_tmpdir/scmroot/udma Cloning into '/var/lib/mock/dist-an8.8-build-329333-69157/root/chroot_tmpdir/scmroot/udma'... $ git fetch origin 3d27f4ebfb6ec3a2a86a859602688de1f82ea6c6:KOJI_FETCH_HEAD From https://gitee.com/xuchun-shang/udma * [new ref] 3d27f4ebfb6ec3a2a86a859602688de1f82ea6c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3d27f4e Update file in tar package