Top "Commit" questions

Questions about committing a transaction or "unit of work" to a database, application or version control system.

How to edit Git "add patch" hunks/diffs/lines during selective staging?

I have a source file where 2 features have been added. In order to allow cherry-picking, I'd like to commit that …

git commit patch split git-add
How to commit & push selected files but not all in Git

I have a git repo with two branches: develop and master. I work mostly at develop and when files are …

git push commit git-merge smartgit
SVN - Not able to commit files (Can't create directory - no such file or directory)

I wanted to move our existing repository (from location A) to a new linux server (location B). So, I created …

svn commit smartsvn
git status for a past commit?

how to do a git status to view changed files in a past commit? NOTE: this question might have already …

git version-control commit git-status
How to undo a Git rollback

I wanted to rollback to the last commit after making a massive error, but I managed to rollback a little …

eclipse git commit rollback egit
how to cancel svn commit when editing the commit-notes (command line client)

I'm using the command-line SVN client on Linux. I typed svn commit which invoked vim to edit the commit notes. …

svn commit command-line-interface svn-client
Perform an empty commit with mercurial

With with Mercurial queues extension, I can make an empty commit with some commit message like so: hg qnew patch_…

version-control mercurial commit mercurial-queue
SVN commit Error "Commit can only commit to a single repository at a time."

I'm using an eclipse with "Subclipse" installed to commit my changes to a repository that located at my DropBox folder. …

eclipse svn commit subclipse
How to squash a merge commit with a normal commit?

commit b0e5db36ed68d4562275adeb08001b1316a4da52 Merge: ea38baa 8220bb1 commit ea38baa3f46a48722987b8…

git github merge commit squash