Skip to content

Keep files from syncing to the DataHUB

In this guide we show you how to keep files from syncing to the DataHUB. This can help to keep large intermediate, sensitive or unpublished data from uploading to the DataHUB.

Every ARC comes with a special file called .gitignore, that resides in the root of your ARC. Files and folders listed in your ARC’s .gitignore will be ignored by the ARC’s version control system. That means changes to those files will not be tracked by ARC tools (e.g. ARC Commander or ARCitect) nor will the files be synced to the DataHUB.

  1. Open your ARC in the ARCitect or in your File Explorer (Windows) or Finder (macOS)
  2. Add a new file my-personal-notes.txt or folder intermediate-results to the ARC
  3. Open .gitignore via ARCitect or a text editor.
    1. Add a new line my-personal-notes.txt or intermediate-results/ at the end of the file
    2. Save and close the file.
  4. Sync the ARC via ARC commander or ARCitect.
  5. Check your ARC in the DataHUB, to see that the file my-personal-notes.txt or folder intermediate-results/ does not exist there.

If at some point you want the ignored file or folder to sync, you can simply remove the respective line from your ARC’s .gitignore file.