One of the large benefits of Git over Subversion is possibility to commit when you don’t have internet connection.
That is why it is suggested to commit changes to central repository as soon as possible.
Well, this rule is a best practice regardless of the version control system you use to reduce conflicts between commits of different developers.
It is suggested to perform Note, commit still may be actually complete to SVN repository, if there is no conflicts despite the message above.
You also should commit all changes locally to Git repository before commit them to SVN.
Otherwise sending changes to SVN repository may fail.
But if you want to commit modification partially you may find Git stash command useful.You may also find command “git stash list” useful to view all stashes.You can find more info about stashing in Git book chapter “Git Tools – Stashing”.To obtain changes from SVN repository the following command should be executed: It is suggested to call it before any commit to SVN.Note, Git revision is SHA-1 hash unlike SVN one which is integer number.To find SVN revision corresponding to Git one you just need to view comment of commit; Git adds corresponding SVN revision number there for you.