$ git clone -n https://gitee.com/wenyuzifang/setserial.git /var/lib/mock/dist-an23-build-464322-73881/root/chroot_tmpdir/scmroot/setserial Cloning into '/var/lib/mock/dist-an23-build-464322-73881/root/chroot_tmpdir/scmroot/setserial'... $ git fetch origin 31ba887ce99266c17af19d578880abc22273c2f9:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/setserial * [new ref] 31ba887ce99266c17af19d578880abc22273c2f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 31ba887 Update code from upstream