$ git clone -n https://gitee.com/lxpzero/ipcalc.git /var/lib/mock/dist-an23.3-build-415779-72844/root/chroot_tmpdir/scmroot/ipcalc Cloning into '/var/lib/mock/dist-an23.3-build-415779-72844/root/chroot_tmpdir/scmroot/ipcalc'... $ git fetch origin 6844a4ab63376211c7b1be20c9cabd8b8f883376:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/ipcalc * [new ref] 6844a4ab63376211c7b1be20c9cabd8b8f883376 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6844a4a update to 1.0.3-12