$ git clone -n https://gitee.com/wenyuzifang/pytest.git /var/lib/mock/dist-an23-build-463062-73836/root/chroot_tmpdir/scmroot/pytest Cloning into '/var/lib/mock/dist-an23-build-463062-73836/root/chroot_tmpdir/scmroot/pytest'... $ git fetch origin 5db473f94474cba2d7a987f8445fa88698258fb2:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/pytest * [new ref] 5db473f94474cba2d7a987f8445fa88698258fb2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5db473f Update code from upstream