$ git clone -n https://gitee.com/mgb01105731/gdb.git /var/lib/mock/dist-an23.3-build-421661-72908/root/chroot_tmpdir/scmroot/gdb Cloning into '/var/lib/mock/dist-an23.3-build-421661-72908/root/chroot_tmpdir/scmroot/gdb'... $ git fetch origin 6dc8f1b71b15278156e9924d5edd2c4a245aec79:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/gdb * [new ref] 6dc8f1b71b15278156e9924d5edd2c4a245aec79 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6dc8f1b Update to 14.2 from 13.2