Updating

It is recommended to periodically update both Nextcloud and LibreSign in your local environment to ensure compatibility.

Updating Nextcloud

  • First, check if there are any local modifications in your Nextcloud repository:

    cd path/to/nextcloud
    git status
    

    Note

    If there are uncommitted changes, resolve them (commit, stash, or discard) before pulling updates. This avoids conflicts when updating from the master branch.

  • Pull the latest changes from the Nextcloud master branch:

    git pull origin master
    
  • After pulling, the 3rdparty folder may be outdated. In that case, run:

    git submodule update --init --recursive
    

Updating LibreSign

  • Before starting a new task, always make sure your local main branch is up to date with the upstream repository:

    cd path/to/libresign
    git checkout main
    git pull upstream main
    
  • Then create your feature or fix branch from the updated main.