$ git clone -n https://gitee.com/hongwei-qin/lsof.git /var/lib/mock/dist-an23.3-build-415656-72844/root/chroot_tmpdir/scmroot/lsof Cloning into '/var/lib/mock/dist-an23.3-build-415656-72844/root/chroot_tmpdir/scmroot/lsof'... $ git fetch origin 74b2c8300062f425bc6ae8248eabc3b08334d3aa:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/lsof * [new ref] 74b2c8300062f425bc6ae8248eabc3b08334d3aa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 74b2c83 update to 4.98.0