We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svn_notes
习惯了Git命令行管理code,那一个爽,不可言语。毕竟不是所有的公司都是Git管理code,所以SVN得get,说实话一直习惯命令行操作,对于客户端操作一直是耿耿于怀,记得哪会刚开时用"猫”客户端时各种merge,各种冲突,@chenrenjie各种折腾...
来看看SVN命令行操作,其实和Git大致相似吧,即使教程无数,仅当记录下,忘记时可以时常翻阅,挺好,毕竟,好记性,不如烂笔头。
介绍:使用zsh,感兴趣的童鞋戳zsh
svn help
add (svn add * 添加全部已修改的内容,类似git add .) blame (praise, annotate, ann) cat changelist (cl) checkout (co) (checkout工程,类似:git checkout url) cleanup commit (ci) (commit到本地库,类似:git commit -m "提交更改信息标记") copy (cp) delete (del, remove, rm) (删除,注文件得加rf,如:rm -rf fileName,删除时慎重) diff (di) (查看提交前后的差别,类似:git diff) export help (?, h) (帮助) import info list (ls) lock log (查看提交信息,类似:git log) merge (合并一些分支啥的,类似:git merge) mergeinfo mkdir (在工程中新建文件夹) move (mv, rename, ren) patch propdel (pdel, pd) propedit (pedit, pe) propget (pget, pg) proplist (plist, pl) propset (pset, ps) relocate resolve resolved (处理冲突) revert (版本回退,如:git revert version) status (stat, st) (当前状态,如:git status(gst),查看是否将code提交到本地仓库) switch (sw) unlock update (up) (更新code,ru:git pull(gl),更新前请一定将自己code提交到本地仓库,更新完后,有conflicts先解决,再同步code,不要留坑) upgrade
就这么多,具体的还请google或者bing或者baidu,若有不足还请指出,感激不敬!
The text was updated successfully, but these errors were encountered:
解决:
svn resolved <filename or directory that gives trouble>
详情请戳:http://stackoverflow.com/questions/2406469/svn-remains-in-conflict
fix: svn revert --depth infinity ~/path(缺失路径) Example: svn revert --depth infinity ~/Work/.../Resources/add_watch_icon
Action->Cleanup All Working Coping Locks.
使用命令行添加文件 1.打开终端,输入cd,空格,然后将需要上传的.a文件所在的文件夹(不是.a文件)拖拽到终端(此办法无需输入繁琐的路径,快捷方便) ,回车; 2.之后再输入如下命令:svn add libOCMock.a,回车; 3.之后会出现:A (bin) libOCMock.a 表示添加成功,打开Versions就可以看到,刚才添加的.a文件,此时就可以手动上传了。
参考:http://blog.csdn.net/daiyelang/article/details/42024175
搜索了一下解决方案: http://wpt205.blog.163.com/blog/static/108047495201371272034579/
Sorry, something went wrong.
No branches or pull requests
svn_notes
习惯了Git命令行管理code,那一个爽,不可言语。毕竟不是所有的公司都是Git管理code,所以SVN得get,说实话一直习惯命令行操作,对于客户端操作一直是耿耿于怀,记得哪会刚开时用"猫”客户端时各种merge,各种冲突,@chenrenjie各种折腾...
来看看SVN命令行操作,其实和Git大致相似吧,即使教程无数,仅当记录下,忘记时可以时常翻阅,挺好,毕竟,好记性,不如烂笔头。
介绍:使用zsh,感兴趣的童鞋戳zsh
svn help
就这么多,具体的还请google或者bing或者baidu,若有不足还请指出,感激不敬!
The text was updated successfully, but these errors were encountered: