I’ve just learned working with subversion and a few commands such as checkout and add and list etc.
so far what I learned was that checking out a repository means creating a working copy on local so we can modify the files and then commit the changes to the real repository.
OK, so far so good, and we use the checkout command for this purpose, passing it the url to the repository.
So, My question might look rather stupid, but… where is this working copy??
After I check out the repository, where is the working copy created, and how can I access and modify the containing files?
I’m very confused about this. Any help is highly appreciated!
I’ve just learned working with subversion and a few commands such as checkout and
Share
The command for a checkout looks like:
If you perform a
svn checkoutwithout specifying the target local directory as the second parameter, your checked out working copy will end up in a directory named the same as the item you checked out in whatever working directory you were in when you checked it out.So for example, if you checked out the
proj1project fromyour/repository/projects/proj1with a command like:Your working copy would end up in
proj1inside the directory you were in when you ran the command. So if you did this from your home directory/home/you, it would be:/home/you/proj1Under most circumstances, you should specify the local target directory to checkout the working copy: