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