Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a menu like interactive commit for SVN like Git has with --interactive?

Most probably you know in git you can get a very good commit experience by using

git commmit --interactive

which will show up a menu, where you can add/update/patch/revert things, and you select files by their range, eg: 1-5,10-12,100-1135

$ git commit --interactive
           staged     unstaged path


*** Commands ***
  1: [s]tatus     2: [u]pdate     3: [r]evert     4: [a]dd untracked
  5: [p]atch      6: [d]iff       7: [q]uit       8: [h]elp
What now>

I am looking to get the same functionality in SVN like a shell command.
Do you know what is the SVN command?

like image 725
Pentium10 Avatar asked Jan 05 '12 07:01

Pentium10


People also ask

How do I commit to a svn repository?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.

What is the use of svn commit command?

The svn commit command sends changes from your working copy to the respository. A log message (even if empty) must be provided. The message can be given on the command line, from a file, or an editor may be launched as the commit proceeds.

What is the Git commit command?

The git commit command captures a snapshot of the project's currently staged changes. Committed snapshots can be thought of as “safe” versions of a project—Git will never change them unless you explicitly ask it to.

What is Git add and Git commit?

Add and commit changesgit add : takes a modified file in your working directory and places the modified version in a staging area. git commit takes everything from the staging area and makes a permanent snapshot of the current state of your repository that is associated with a unique identifier.


1 Answers

Bad news is that there is no such thing as interactive command line prompt for svn. Good news is that you can write your own and be the first to come up with such a useful tool.

like image 75
altern Avatar answered Sep 28 '22 10:09

altern