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