$ git clone -n https://gitee.com/wency_cn/dwarves_1770730382.git /var/lib/mock/dist-an23-build-513137-75099/root/chroot_tmpdir/scmroot/dwarves_1770730382 Cloning into '/var/lib/mock/dist-an23-build-513137-75099/root/chroot_tmpdir/scmroot/dwarves_1770730382'... $ git fetch origin a5375ae603bdbd39b18e97c6bd1a2efe254f56a1:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/dwarves_1770730382 * [new ref] a5375ae603bdbd39b18e97c6bd1a2efe254f56a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a5375ae Update code from upstream