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