$ git clone -n https://gitee.com/yueeranna/python-gast.git /var/lib/mock/dist-an23-build-274686-64243/root/chroot_tmpdir/scmroot/python-gast Cloning into '/var/lib/mock/dist-an23-build-274686-64243/root/chroot_tmpdir/scmroot/python-gast'... $ git fetch origin 945554bf155212fa0091e3c8e2e9b146fa15dbe7:KOJI_FETCH_HEAD From https://gitee.com/yueeranna/python-gast * [new ref] 945554bf155212fa0091e3c8e2e9b146fa15dbe7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 945554b init from upstream