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