$ git clone -n https://gitee.com/hongwei-qin/memcached.git /var/lib/mock/dist-an23.3-build-415367-72844/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an23.3-build-415367-72844/root/chroot_tmpdir/scmroot/memcached'... $ git fetch origin 6b4d51a683ebe18f528f6c783ec2a551a5d8fbda:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/memcached * [new ref] 6b4d51a683ebe18f528f6c783ec2a551a5d8fbda -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6b4d51a update to 1.6.23