3 ms·
Is this serious? Can't commit like you expect? git commit -a Alternatively stage a commit git add filename #then commit it git commit -m "c
by mgrouchy 16y ago
Is this serious?
Can't commit like you expect?
git commit -a
Alternatively stage a commit
git add filename
#then commit it
git commit -m "commit message"
worst Git’s just version control.
As I recall version control is pretty important to the software developer toolbox. I know its pretty important to mine.
If it takes you that long to get up and running with Git, I can't imagine what kind of developer you are.
Edit: I should add an addendum to this: I don't mean this as a personal attack, I'm just kind of incredulous about all this talk about version control is hard. I have used cvs, svn, mercurial and git and I never found them particular hard to get up and running with them. All source control has its pain points, but usually getting started on a project that has already been using it, or a new project isn't one of these points.
- Empact 16y agoYeah, seems he isn't around people who know git. E.g.: Me: Why? I already added them before, why do I need to add them again? They: You just do, OK? The answer isn't "You just do," neither is it complicated. You need to re-add files after you've further modified them, because you aren't adding files, you're adding changes to files at the time you added it. After all, why should your VCS assume that your file layout consistently and meaningfully aligns with your changes? I've found it's much more meaningful to cut up a body of work into several commits after the fact using a tool like GitX.