Re: [git-users] Add feature like "git number"

2015-11-10 Thread Rémi Rampin
2015-11-09 4:02 EST, David Votrubec :
> -- then if i want to commit just fileA and fileC, I do not need to type the 
> whole (potentially) long file name, and instead type
> git number add 1 3
> which is the equivalent of git add fileA; git add fileC

This sounds pretty similar to the -i, --interactive switch, which
works exactly the same way: git add -i lists the current status, then
a or u will list the files that can be Added or Updated with numerical
indexes, then you type in these indexes to select files. I don't see
what git-number adds to that process.

-- 
Rémi

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Add feature like "git number"

2015-11-09 Thread Konstantin Khomoutov
On Mon, 9 Nov 2015 01:02:46 -0800 (PST)
David Votrubec  wrote:

> There is great plugin into Git named Git-Number,
> you can check it out it here https://github.com/holygeek/git-number
[...]

This list is about helping newbie Git users solve their problems with
using Git and not about the development of Git.

Please consider bringing your issue before the Git developers on the
main Git list.  Please make sure to read [1] first to figure out how to
properly post there.

My personal view is that when the user works in a shell with pathname
autocompletion this plugin is next to useless.  Another thing to
consider is that generally there are two approaches to committing: you
want your commit to be well thought out or you want to commit quick.
For the former case, time spent on picking up files is IMO negligible
compared to the time put into figuring out which parts to commit;
in the latter case, we have `git commit -a` and/or `git add -u` and
`git add -A`.

1. https://gist.github.com/tfnico/4441562

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Add feature like "git number"

2015-11-09 Thread David Votrubec
There is great plugin into Git named Git-Number,
you can check it out it here https://github.com/holygeek/git-number

*Why do I find it awesome?*
- because it boosts developer's productivity
- it adds new command "git number" which works similar to "git status" but 
adds index numbers to listed files
- so when I want to commit just some files and do this:
-- type git number
-- system lists all files prefixed with their index
-- like this

1 fileA
2 fileB
3 fileC
4 fileD
5 fileE
etc

-- then if i want to commit just fileA and fileC, I do not need to type the 
whole (potentially) long file name, and instead type
git number add 1 3
which is the equivalent of git add fileA; git add fileC

*Why do I want it to be part of git?*
- because it is awesome, but the plugin installation process is cumbersome 
and I never make it right on the first try 
- I also believe it would help other developers to manage their commits 
faster then in the GUI

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.