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