$ git clone -n https://gitee.com/wenyuzifang/cups_1769674480.git /var/lib/mock/dist-an23-build-509899-75048/root/chroot_tmpdir/scmroot/cups_1769674480 Cloning into '/var/lib/mock/dist-an23-build-509899-75048/root/chroot_tmpdir/scmroot/cups_1769674480'... $ git fetch origin 8b51017b523e71d18306d5ffd6daa1d02b72740c:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/cups_1769674480 * [new ref] 8b51017b523e71d18306d5ffd6daa1d02b72740c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8b51017 Update code from upstream