Skip to content

Adding files

Max edited this page Aug 2, 2021 · 2 revisions

Adding files to your bev repository is easy:

Add to storage

You can add both files and folders to the storage with the bev add command:

Add a file:

bev add path/to/some/image.png path/to/your/repo/

this will create a image.png.hash file in the path/to/your/repo/ folder.

Add a folder:

bev add path/to/some/annotations path/to/your/repo/

similarly this will create a annotations.hash file.

Add to git (or other VCS)

Now you can commit the *.hash files like any other file:

git add your/repo/annotations.hash your/repo/image.png.hash
git commit -m "added files to bev"

Also, if it's your first commit since the setup, don't forget to add the .bev.yml file:

git add your/repo/.bev.yml
git commit -m "forgot .bev.yml"

Clone this wiki locally