renku save

Convenience method to save local changes and push them to a remote server.

Commands and options

renku save

Save and push local changes.

renku save [OPTIONS] [PATHS]...

Options

-m, --message <message>

The commit message to use

-d, --destination <destination>

The git remote to push to. Defaults to the remote set in git, automatically set in interactive environments

Arguments

PATHS

Optional argument(s)

Examples

If you have local modification to files, you can save them using

$ renku save
Username for 'https://renkulab.io': my.user
Password for 'https://my.user@renkulab.io':
Successfully saved:
    file1
    file2
OK

Warning

The username and password for renku save are your gitlab user/password, not your renkulab login!

You can additionally supply a message that describes the changes that you made by using the -m or --message parameter followed by your message.

$ renku save -m "Updated file1 and 2."
Successfully saved:
    file1
    file2
OK

If no remote server has been configured, you can specify one by using the -d or --destination parameter. Otherwise you will get an error.

$ renku save
Error: No remote has been set up for the current branch

$ renku save -d https://renkulab.io/gitlab/my.user/my-project.git
Successfully saved:
    file1
    file2
OK

You can also specify which paths to save:

$ renku save file1
Successfully saved:
    file1
OK