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