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