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