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