How to properly create an SVN tag from trunk?

前端 未结 9 1612
挽巷
挽巷 2021-01-29 17:04

I am creating my first project in Subversion. So far I have

 branches
 tags
 trunk

I think I immediately need to make branches singular and sta

9条回答
  •  面向向阳花
    2021-01-29 17:52

    Use:

    svn copy http://svn.example.com/project/trunk \
          http://svn.example.com/project/tags/1.0 -m "Release 1.0"
    

    Shorthand:

    cd /path/to/project
    svn copy ^/trunk ^/tags/1.0 -m "Release 1.0"
    

提交回复
热议问题