$ git clone -n https://gitee.com/lizhao2025/volume_key.git /var/lib/mock/dist-an23-build-500768-74764/root/chroot_tmpdir/scmroot/volume_key Cloning into '/var/lib/mock/dist-an23-build-500768-74764/root/chroot_tmpdir/scmroot/volume_key'... $ git fetch origin cd850bdd8785c39d510b33d99e4816d47a590d2d:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/volume_key * [new ref] cd850bdd8785c39d510b33d99e4816d47a590d2d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cd850bd Update code from upstream