$ git clone -n https://gitee.com/rabbitali/fprintd.git /var/lib/mock/dist-an23-build-490541-74493/root/chroot_tmpdir/scmroot/fprintd Cloning into '/var/lib/mock/dist-an23-build-490541-74493/root/chroot_tmpdir/scmroot/fprintd'... $ git fetch origin 221dd2f1ea95937f88eb16b06e49f54975eb0702:KOJI_FETCH_HEAD From https://gitee.com/rabbitali/fprintd * [new ref] 221dd2f1ea95937f88eb16b06e49f54975eb0702 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 221dd2f Update code from upstream