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