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