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