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