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