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