$ git clone -n https://gitee.com/wenyuzifang/gdk-pixbuf2.git /var/lib/mock/dist-an23-build-480493-74252/root/chroot_tmpdir/scmroot/gdk-pixbuf2 Cloning into '/var/lib/mock/dist-an23-build-480493-74252/root/chroot_tmpdir/scmroot/gdk-pixbuf2'... $ git fetch origin 5bc48690de6706ed5070e669d00effa15c3a187d:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/gdk-pixbuf2 * [new ref] 5bc48690de6706ed5070e669d00effa15c3a187d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5bc4869 Update code from upstream