$ git clone -n https://gitee.com/wency_cn/ncompress.git /var/lib/mock/dist-an23-build-492725-74562/root/chroot_tmpdir/scmroot/ncompress Cloning into '/var/lib/mock/dist-an23-build-492725-74562/root/chroot_tmpdir/scmroot/ncompress'... $ git fetch origin 151fdfd5a64162fad0e5c6aaa99d11b001ab27b2:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/ncompress * [new ref] 151fdfd5a64162fad0e5c6aaa99d11b001ab27b2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 151fdfd Update code from upstream