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