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