# NOT RUN {
# Display the current remotes
wflow_remotes()
# Add a remote called origin that points to the
# GitHub repository example_repo owned by
# the GitHub user example_user
wflow_remotes("origin", "example_user", "example_repo")
# Remove the remote named upstream
wflow_remotes("upstream", action = "remove")
# Change the protocol of the remote origin from https to ssh
wflow_remotes("origin", "example_user", "example_repo", protocol = "ssh",
action = "set_url")
# }
Run the code above in your browser using DataLab