Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Request: add an option to default to staging all when attempting to commit and nothing is staged #1079
Comments
|
This is a very reasonable request. I'm going to chuck a good-first-issue label on this in case somebody (perhaps you!) wants to pick it up cos it should be fairly straightforward to do. Happy to give pointers |
|
I actually did consider forking and adding -- my go-fu is minimal, but perhaps I'll give it a go tonight. |
|
I see what you did there |


Is your feature request related to a problem? Please describe.
the most common flow I have (and, I think, a lot of people have this flow) is to do some work, commit it all, lather-rinse-repeat. So 'c' is smart in that it can ask me if I want to stage all when none are staged, but in the spirit of being a lazy-ass dev, I'd really like to have a config point where I could say "yes, I'm super-lazy, so if I 'c' without staging anything, assume I mean everything and stage the lot"
Describe the solution you'd like
a config option to stage all when committing with nothing staged, eg:
Describe alternatives you've considered
pressing 'a' and then 'c', forever, but this is twice as much work as I want to do. Did I mention how lazy I am?
Additional context😛
I'm so lazy, this will save me so much time and effort