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