คำสั่งเกี่ยวกับการจัดการ Subversion


svn add PATH...
Adds files, directories, or symbolic links to the repository upon a commit. You can undo this by using svn revert.
svn blame TARGET[@REV]
Shows author and revision information in-line for the specified files or URLs.
svn praise/annotate/ann TARGET[@REV]
These three commands are all pseudonyms for the blame command above.
svn cat TARGET[@REV]
Cat's the contents of a file or URL
svn checkout URL[@REV]... [PATH]
Checks out the repository at the given URL (into the given path).
svn commit [PATH...]
Commits changes into the branch/trunk from which you checked it out.
svn copy SRC DST
Copies the source to the path. This copy is not a simple file copy but is a repository copy (a special CHEAP copy that preserves history. This is the main way of creating branches and tags. For example, to create the MarksPrivateBranch branch indicated above, you would issue the command svn copy svn://mamba.cs.virginia.edu:9002/GenesisII/trunk svn://mamba.cs.virginia.edu:9002/GenesisII/branches/MarksPrivateCopy
svn delete TARGET
Deletes a specified target from the repository. If TARGET is a path, then you will need to commit -- if it's a URL, then the commit happens automatically.
svn diff [-r N[:M]] {TARGET[@REV]...]
Does a diff. This command is pretty expressive so please see the manual.
svn help [SUBCOMMAND...]
Get help on a subcommand.
svn info [TARGET...]
Get information about a local or remote item.
svn list [TARGET[@REV]...]
List the contents of a directory in the local space or the repository.
svn lock TARGET...
Lock a target.
svn merge ...
Used to merge branches/tags/etc. See full command help for details.
svn mkdir T
svn merge ...
Used to merg
ARGET...
Creates a new directory under revision control. If TARGET is a local path, then you will need to commit -- if it's a URL, then the changes happens to the repository immediately.
svn move SRC DST
Moves a source to a destination. This can either be working directory to working directory (needing a commit), or URL to URL which happens immediately. This is the preferred way to rename an item in Subversion and is essentially a copy and a delete.
svn resolved PATH...
Indicates that a file or directory which had been in a conflicted state is now resolved. The user MUST issue this command in order to commit once a conflict is encountered.
svn revert PATH...
Undo all local edits.
svn status [PATH...]
Print the status of a working set of files and directories.
svn switch URL [PATH]
Modifies the local disk copy of a set of software to the URL indicated. For example, suppose that I was working in branch svn://mamba.cs.virginia.edu:9002/GenesisII/branches/MarksPrivateBranch and I decided to abandon that branch and work on the main trunk. Rather than create a new local copy of the main trunk, I could revert my copy to the main trunk by issuing the command svn switch svn://mamba.cs.virginia.edu:9002/GenesisII/trunk.
svn unlock TARGET...
Unlocks a previously locked file or directory.
svn update [PATH...]
Updates your local copy to the latest from your branch/trunk/tag.

About Nop

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment