Reference Blog: http://blog.csdn.net/q199109106q/article/details/8655204
Need to configure SVN user rights of Friends please click??
First, the use of SVN
To connect to SVN, we need:
SVN address, user name, password
1. Upload the local file to the server:
kakasang:~ kaka$ svn import/users/kaka/desktop/demo (path to local file) svn://121.40.***.***/project/demo/(to SVN path)-- Username= (account)--password= (account)-m "Upload code"
-M back is a note remember to bring
PS: Local path can be directly to the folder into the terminal
2. Download the code on the server to a local
kakasang:~ kaka$ SVN Checkout (path on SVN)--username= (account)--password= (account) (local path)-m "Upload code"
3. Update the code on the server
Go to the folder that was uploaded to the server
cd/(path to file)
Update code
SVN commit-m "Update Code"
4. Update the code that the server downloaded to the local
cd/(Local path)
SVN update-m "Update"
Second, the problem in use
In the delete file times wrong svn:E205007:None of the environment variables svn_editor, VISUAL or EDITOR is set
Reference Blog: http://blog.163.com/lgh_2002/blog/static/44017526201046111856208/
Workaround: Add export Svn_editor=vim after the ETC/BASHRC file
So where is this file?
Open Finder shift+command+g Find/etc
Locate BASHRC File
The system warns you that you do not have permission to modify this file
To modify this file, copy one.
Change the copy file and replace the original file.
After the file has been replaced.
Terminal input SOURCE/ETC/BASHRC Let the configuration file take effect immediately
Use of SVN on Mac