I am developing on a mac and using an svn server on another machine using svn_ssh
.
While I was able to do an initial check-in and check-out, I cannot do a commit from the command line because the system tries to use my local username jondoe
(and prompts a password) when connecting to the remote server where my username is johnd
.
So, how can I tell the svn+ssh to use johnd
for my commits?
.svn
directory)Checkout again, but now using your remote username
svn checkout svn+ssh://<ssh_username>@<svn host domain>/<server repository path>
Restore your changes from backup
Commit them
svn commit -m 'Description'
I've just successfuly checked out and committed with different local and SSH usernames.
Use --username
option
svn commit --username johnd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With