$ git clone -n https://gitee.com/zhonglingh/grpc.git /var/lib/mock/dist-an23-epao-build-302775-66005/root/chroot_tmpdir/scmroot/grpc Cloning into '/var/lib/mock/dist-an23-epao-build-302775-66005/root/chroot_tmpdir/scmroot/grpc'... $ git fetch origin 12e658cc07a3df4584a37de63a3c8a5a3276f6d6:KOJI_FETCH_HEAD From https://gitee.com/zhonglingh/grpc * [new ref] 12e658cc07a3df4584a37de63a3c8a5a3276f6d6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12e658c init from upstream