$ git clone -n https://gitee.com/cobratoxin/ipcalc.git /var/lib/mock/dist-an8.8-build-287167-64855/root/chroot_tmpdir/scmroot/ipcalc Cloning into '/var/lib/mock/dist-an8.8-build-287167-64855/root/chroot_tmpdir/scmroot/ipcalc'... $ git fetch origin 42c4abf14bbd35aa8ddf77a49cf75c5f41790e74:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/ipcalc * [new ref] 42c4abf14bbd35aa8ddf77a49cf75c5f41790e74 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42c4abf Add doc sub package