$ git clone -n https://gitee.com/happy_orange/zxing.git /var/lib/mock/dist-an8-epao-build-417319-72600/root/chroot_tmpdir/scmroot/zxing Cloning into '/var/lib/mock/dist-an8-epao-build-417319-72600/root/chroot_tmpdir/scmroot/zxing'... $ git fetch origin f8fe56e8d02709796c991f6287398a9a2180eaa7:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/zxing * [new ref] f8fe56e8d02709796c991f6287398a9a2180eaa7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8fe56e init package use the 3.5.3 version