$ git clone -n https://gitee.com/yueeranna/python-gitdb.git /var/lib/mock/dist-an23-epao-build-351170-70872/root/chroot_tmpdir/scmroot/python-gitdb Cloning into '/var/lib/mock/dist-an23-epao-build-351170-70872/root/chroot_tmpdir/scmroot/python-gitdb'... $ git fetch origin 9b13d7be41da9c9593f29f6cb3c523a3e5b81fe2:KOJI_FETCH_HEAD From https://gitee.com/yueeranna/python-gitdb * [new ref] 9b13d7be41da9c9593f29f6cb3c523a3e5b81fe2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9b13d7b init from upstream