$ git clone -n https://gitee.com/wenyuzifang/python-construct.git /var/lib/mock/dist-an23-build-481058-74252/root/chroot_tmpdir/scmroot/python-construct Cloning into '/var/lib/mock/dist-an23-build-481058-74252/root/chroot_tmpdir/scmroot/python-construct'... $ git fetch origin 3fb675d2abf274d11ee557af9c7d995c9f484be4:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-construct * [new ref] 3fb675d2abf274d11ee557af9c7d995c9f484be4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3fb675d Update code from upstream