Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6113461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:51:42+00:00 2026-05-23T14:51:42+00:00

Using TortiseSVN you can update/commit a single directory by right clicking the directory and

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:51:43+00:00Added an answer on May 23, 2026 at 2:51 pm

    git add the directory you want, commit it and then do the dcommit ( after appropriate cherry picking )

    I don’t see how the problem of having multiple projects comes in. You will be adding the files in your concerned project and adding them. Don’t compare commit in SVN to the dcommit here. Compare commit in SVN to the commit in Git. Just like how you would “right click on the directory” and commit it, git add ( or use TortoiseGit and do the same as you do in TortoiseSVN ) only that directory and commit. Then, do the dcommit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: We ended up using a process very much like this schema (thanks to
I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file
I'm using SVN 1.6.3 and TortoiseSVN 1.6.6. Periodically when I do an update from
Maybe someone can explain this behavior. Sometimes I will do an SVN update, and
I'm going to check out a repository from a source that I can't commit
I've been reading up on branching/merging with Subversion 1.5 using the excellent and free
I've got a post-commit hook script that performs a SVN update of a working
I'm using TortiseSVN for my subversion client on a Windows Server 2008 box and
I can write a message when placing a lock on a file, using TortoiseSVN
I am using CollabNet Subversion in Windows, I been searching around on how can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.