8
votes
Accepted
GIT: Why use master (or any branch) as to reflect what's in production
Using the master branch as the canonical source for code in production makes it easier for developers to clone the repository and immediately have production code in front of them. It's as simple as:
...
7
votes
Best approach for managing program customizations inside DVCS
We have to distinguish two kinds of versions:
VCS like Git store the development history of the software.
These versions have nothing to do with different editions or variants of the software.
...
4
votes
Do DVCSes discourage continuous integration?
This old question just got marked as a duplicate of a new one, and since a lot of the answers reference some outdated ideas, I thought I'd post an updated one.
One thing that apparently wasn't very ...
4
votes
GIT: Why use master (or any branch) as to reflect what's in production
Well, how else do you know what’s in prod? Download the live copy and recursive diff? Guess? Etc.?
In other words, it provides a useful comparison point and a useful assumption about whats live (...
4
votes
Why do so many projects prefer "git rebase" over "git merge"?
Three things haven't been said in any of the answers:
Diffing inside a branch:
Diffing between an arbitrary pair of commits in a branch becomes extremely difficult when there are merge commits.
...
2
votes
What does it mean that DVCSs allow us to set up several types of workflows that aren’t possible in centralized systems, such as hierarchical models?
A hierarchical workflow goes like this. Suppose I suspect there's a bug in the Linux kernel that affects our product. I clone the kernel source code to a local directory and start experimenting with ...
1
vote
Proactive git branch conflict detection?
"Your work and your colleague's work are now currently conflicting, and here is the conflicting content".
Notifications should be actionable. If they're not actionable, they start feeling ...
1
vote
GIT: Why use master (or any branch) as to reflect what's in production
The only benefit is if you want a stable name for “latest
release”. That’s it.
You might just need to know what the latest version is. Maybe you don’t
need a moving pointer named “master” or “...
1
vote
Accepted
Process for archiving binaries from different repos using Git?
One important difference between SVN and Git is that in SVN, all files reside on a central server and only some revisions are checked out. In contrast, Git downloads the complete repository. While ...
1
vote
Accepted
Best practice to revive and update old branch?
You want (in common) merge default to feature (resolving a lot of possible merge-conflicts).
Slightly different way:
convert all changesets of feature branch into the set of MQ-patches
create new ...
1
vote
Why do so many projects prefer "git rebase" over "git merge"?
An additional relevant point is this: With rebasing I can easily cherry pick or revert a feature in my release branch.
1
vote
Is a code review which uses only code comments a good idea?
This should be a comment to Arseni's answer...
But I don't have enough credit to comment.
I am familiar with this approach and I believe it's superior to reviews that rely on external collaboration ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dvcs × 70git × 38
mercurial × 31
version-control × 26
svn × 11
perforce × 8
cvcs × 7
branching × 6
workflows × 5
continuous-integration × 4
merging × 3
development-process × 2
release-management × 2
web-development × 1
testing × 1
licensing × 1
web-applications × 1
open-source × 1
security × 1
gpl × 1
teamwork × 1
code-reviews × 1
enterprise-architecture × 1
interview × 1
gui × 1