$ git clone -n https://gitee.com/opencloudos-stream/avrdude.git /var/lib/mock/dist-oc9-epol-build-107310-67050/root/chroot_tmpdir/scmroot/avrdude Cloning into '/var/lib/mock/dist-oc9-epol-build-107310-67050/root/chroot_tmpdir/scmroot/avrdude'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/avrdude * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 634a119 update