Instantiating a Workspace
A workspace is created off of aRemoteRepo
and a branch name. The branch name is just a convenience for the user to create a workspace on the underlying commit id.
main
).
Adding Files
When adding data, it is always a good idea to create a branch for the changes you are about to make. This will allow you to commit changes without affecting the default branch.Creating a Branch
Uploading Files
Workspaces allow you to upload files without immediately committing them. Think of this as a staging area where you can upload the data, and then batch commit when you are ready.Removing Uploaded Files
If you accidentally add file from the remote workspace and want to remove it, no worries, you can unstage it withoxen remote rm --staged
.