$ git clone -n https://gitee.com/wenyuzifang/binutils.git /var/lib/mock/dist-an23-build-466858-73998/root/chroot_tmpdir/scmroot/binutils Cloning into '/var/lib/mock/dist-an23-build-466858-73998/root/chroot_tmpdir/scmroot/binutils'... $ git fetch origin a8f2c801c3b1415adf216cead6d227c2c78068b7:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/binutils * [new ref] a8f2c801c3b1415adf216cead6d227c2c78068b7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a8f2c80 Update code from upstream