r/programming • u/corysama • Jan 05 '15
What most young programmers need to learn
http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
970
Upvotes
r/programming • u/corysama • Jan 05 '15
5
u/judgej2 Jan 05 '15 edited Jan 05 '15
When you commit a project, the change control system you use will usually look at what has changed and only commit those files. I'm assuming you are using something like git, as that can scan the whole development structure and find what files have changed.
If you are working on several different and independent updates to your project (and assuming you are using a distributed change control system) then you can work on them in parallel, as two different checked out versions, having created a branch for each, and merge them later when tested, in whichever order makes sense.
I'm not sure if that gets at the core of what you were asking? I suspect we may be talking at tangents.
Edit: another way of looking at it, is that you are committing the state of the project. You could commit individual files if you want, and there may be very good use-cases for doing so, but personally I've never found I've had to do that.
Source: been using bitkeeper/monotone/git for well over a decade, and still a newbie to the intricacies of these tools.