Shortcuts

Branch Migration

At an earlier stage, MMOCR had three branches: main, 1.x, and dev-1.x. Some of these branches have been renamed together with the official MMOCR 1.0.0 release, and here is the changelog.

  • main branch housed the code for MMOCR 0.x (e.g., v0.6.3). Now it has been renamed to 0.x.

  • 1.x contained the code for MMOCR 1.x (e.g., 1.0.0rc6). Now it is an alias of main, and will be removed in mid 2023.

  • dev-1.x was the development branch for MMOCR 1.x. Now it remains unchanged.

For more information about the branches, check out branches.

Resolving Conflicts When Upgrading the main branch

For users who wish to upgrade from the old main branch that has the code for MMOCR 0.x, the non-fast-forwarded-able nature of the upgrade may cause conflicts. To resolve these conflicts, follow the steps below:

  1. Commit all the changes you have on main if you have any. Backup your current main branch by creating a copy.

    git checkout main
    git add --all
    git commit -m 'backup'
    git checkout -b main_backup
    
  2. Fetch the latest changes from the remote repository.

    git remote add openmmlab git@github.com:open-mmlab/mmocr.git
    git fetch openmmlab
    
  3. Reset the main branch to the latest main branch on the remote repository by running git reset --hard openmmlab/main.

    git checkout main
    git reset --hard openmmlab/main
    

By following these steps, you can successfully upgrade your main branch.

Read the Docs v: stable
Versions
latest
stable
v1.0.1
v1.0.0
0.x
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.1
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.0
dev-1.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.