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