$ git clone -n https://gitee.com/yxy19990412/rsyslog.git /var/lib/mock/dist-an23.1-devel-build-364030-71268/root/chroot_tmpdir/scmroot/rsyslog Cloning into '/var/lib/mock/dist-an23.1-devel-build-364030-71268/root/chroot_tmpdir/scmroot/rsyslog'... $ git fetch origin 40c08b7a92e99154e0cae3126dc4187a0e852735:KOJI_FETCH_HEAD From https://gitee.com/yxy19990412/rsyslog * [new ref] 40c08b7a92e99154e0cae3126dc4187a0e852735 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40c08b7 update to 8.2312.0