Using TortiseSVN you can update/commit a single directory by right clicking the directory and selecting update or commit.
I really like the branching power of git, but if I use git svn dcommit
it will try to update the entire repository, which in our case has several projects in it.
So how can I commit only specific files/directories?
Thanks!
EDIT
To clarify what the SVN repos look like:
+- Trunk
|
+-+- Project 1
| |
| +- Project 1 files...
|
+-+- Project 2
| |
| +- Project 2 files..
|
+-+- My Project
|
+- My Project files...
And when I run git svn dcommit
it tries to update everything in Project 1, 2
, and My Project
.
Project 1 and 2 are completely unrelated, and under development by others. How do I avoid updating/committing to the other projects? Do I simply add those dirs to .gitignore
? What about if I later need to work on those other projects? Alternatively, is there a better way to use git svn
to work with this type of Subversion repository?