Skip to main content

Push Changes

Once you’ve committed changes to a local repository, you can push them to a remote with oxen push
If you don’t supply a remote name or branch, they default to origin and the current branch respectively.

Resume Push

If a push is cancelled partway through, you can use the --missing-files flag to resume push progress and upload the remaining files

Set Remote

You can use oxen config --set-remote to set the remote for a repository. This allows you to push changes to that remote, provided you’ve set the API key and have permission.

View Remotes

The oxen remote command allows you to view what remotes you have for a repository
Output:
Use the --verbose flag to list the remotes with their URLs
Output:

Create Remote

You can also create a remote from the CLI with oxen create-remote.

Workspaces

You can also stage changes to a remote by using a Workspace. This allows you to skip copying files to a local repository, making it ideal for bulk imports. Create a workspace on a branch with oxen workspace create
You can then add the files with oxen workspace add, uploading their contents to the remote and staging them for commit
Then, commit the changes with oxen workspace commit