A programming discipline for tracking, storing and retrieving revisions of source code.

learn more… | top users | synonyms (2)

38
votes
11answers
11k views

How often should I/do you make commits? [duplicate]

I am a recent (as of yesterday) college grad - BS in Computer Science. I've been a huge fan of version control ever since I got mad at an assignment I was working on and just started from scratch, ...
6
votes
6answers
640 views

Distributed Version-Control for Small Projects

When it comes to very small projects (just a few devs), how effective are distributed version-control systems (e.g., git) compared to systems with a central repository? I like the idea of having a ...
17
votes
7answers
2k views

how to use version control

I'm developing a web site in php in localhost and as modules of it gets completed, I upload it on the cloud so that my friends can alpha test it. As I keep developing, I've lots of files and I lose ...
-1
votes
4answers
915 views

The need for source control software - Team Foundation Server? or something different? [closed]

Recently, Here at the company, more than one programmer was appointed in charge for a LightSwitch(C#) software development project and immediately there was a need of some sort of source control/sync....
11
votes
3answers
2k views

Branching model suggestion for same project multiple clients

We have a very big project that includes several applications that acts as the base for different clients. Every client has its own personalization of the product, different milestones, different ...
4
votes
7answers
783 views

Version control management of large projects

I'm used to version control, in particular I currently use Mercurial. I have some doubts about how to make it work in large teams, where there is a good probability of having more people working on ...
21
votes
13answers
1k views

Subversion/source control only for production code?

I graduated from college in Computer Science a year ago, and am now working at a small web development company (me and one other developer, plus managers, customer service and tester). Until just ...
7
votes
9answers
2k views

Setting Up a Development Environment

I am part of an organization that is formalizing their software development processes/capabilities/etc. While the organization is not traditionally a software organization, they want to do this right ...
14
votes
6answers
1k views

Should a developer be allowed to use VSS if he prefers it?

I introduced Mercurial to my department. I love it, but it is my first version control experience. I am using it with NetBeans PHP for web development. Another developer who works on internal company ...
76
votes
12answers
16k views

git for personal (one-man) projects. Overkill?

I know, and use, two version control systems: Subversion and git. Subversion, as of now, gets used for personal projects where I am the only developer and git gets used for open source projects and ...
121
votes
4answers
21k views

What is the benefit of git's two-stage commit process (staging)?

I'm learning git and I've noticed that it has a two-step commit process: git add <files> git commit The first step places revisions into what's called a "staging area" or "index". What I'm ...
6
votes
4answers
545 views

Recommended guidelines for Mercurial setups

I've just recently installed mercurial, and have been playing around it with. Overall, it seems like a great way to do version control. However, the distributed nature of its architecture makes it ...
3
votes
1answer
223 views

How should i set up my source folder?

I have /src/main/ with all my code (i also have /src/online, /src/prvlibs, /src/test, etc) but now i am thinking about moving a few non active projects out of the folder. Sure i could go in and delete ...
4
votes
5answers
297 views

In DVCS with production and development branches, whats the master/default branch?

If your following the standard DVCS methodology of having a production branch and a development branch, I'm really interested in what do you do with the default (mercurial) or master (git) branch? ...
8
votes
5answers
2k views

What's the best way to store documentation associated with a code project?

We have a lot of documents associated with our software development. These include things like requirements, design documents, external PDFs, customer files, testing instructions, etc. Currently, ...
14
votes
13answers
3k views

Are there serious companies that don't use version-control and continuous integration? Why?

A colleague of mine was under the impression that our software department was highly advanced, as we used both a build server with continuous integration, and version control software. This did not ...
2
votes
2answers
160 views

Why fork a library for your own application?

Why should a programmer ever fork a library for inclusion in a widely used application? I ask this question because I was reading an article about why Chromium isn't packaged for many Linux distros ...
11
votes
6answers
2k views

Branching and versioning strategy for shared libraries

These posts seem related, but my brain is starting to melt, trying to think this through :P My employer has just started using source control, primarily because before they hired more developers, the ...
13
votes
14answers
1k views

What is the most effective/efficient way to develop an application with multiple people without source control?

Introduction to my situation I work for a small web development company. We have a team of four ASP.NET developers, including me. Almost all of our projects (> 98%) are one-person projects that take ...
15
votes
11answers
3k views

What's a good light-weight source repository for local development? [closed]

I'm doing some prototyping locally that I would like to keep in source control (for backup and revert purposes) but I don't necessarily want to publish it as open-source or make available online for ...
9
votes
4answers
7k views

Why should large financial/insurance companies use git and/or github

I work for a large enterprise (30K employees) in the financial/insurance industry. While "IT" isn't our main focus, let's be honest, these are information driven industries and the companies with the ...
15
votes
6answers
938 views

Who is Responsible for Setting Up An Automated Builds System?

I am a project manager at my company. I work with a few teams of developers using a standard, well-known version control system known as CVS. I'd like to see continuous integration and automated ...
1
vote
7answers
294 views

Using version control in an IDE [closed]

I write all (well, most) of my programs in an IDE, mostly it's netbeans. Should I just use Mercurial through the IDE, or is it better if I used the CLI instead? and why?
7
votes
1answer
1k views

Combining Code Review with Trust Metrics

I don't get the chance to partake of it at work. But I love the idea of code review. Especially of online open source code review like Gerrit Code Review. I love what Trust Metrics have done for ...
2
votes
3answers
311 views

Resources for using TFS for Agile Project Development? [closed]

Our company just installed TFS for us to start using for project development processes and source control. They want us to start using it to manage our projects as well. We have a small team, no ...
5
votes
1answer
422 views

Overlapping Version Control Repositories

So, I'm working with an open source project, and I'm making some significant changes to a small module of the project. The project uses SVN as its version control, and I need access to this repository,...
10
votes
6answers
739 views

Should we put the specification documents in source control system such as svn?

Today, One of my colleague and I have a debate about "Should we put the specification documents in source control system such as SVN?". In my opinion, It should be. Everything relate to developing ...
1
vote
4answers
153 views

How far back do you use your version control and for what reason?

Typically when i work on a project i only go back a few days or the last major change when i decide to do something drastic. I sometimes notice i broke a test or a feature and overlooked it for a few ...
18
votes
17answers
4k views

Why should I write a commit message?

Why should I write a commit message? I don't want to and i think its stupid every single time. A GUI frontend I use which will go unnamed forces you to do it. I hear other doing it every time even if ...
8
votes
4answers
616 views

Do you keep intermediate files under version control?

Here's an example with a Flash project, but I'm sure a lot of projects are like this. Suppose I create an image with Photoshop. I then export this image as a jpeg for integration in Flash. I compile ...
30
votes
9answers
2k views

Using some kind of version control when working alone and with small projects?

Very often I'm working on small projects only for myself. I'm working on one machine, but recently I thought about using some kind of version control nevertheless. This would have some benefits as for ...
1
vote
1answer
243 views

What source control would be best to use with my private gaming server?

I'm looking to version control everything, including sql server components, a client launcher, and server-side software. I want to use an online resource where people can make updates, and make it ...
7
votes
4answers
622 views

Would you make your website's source code public?

Back story: My best friend is a self-taught coder for a community art site, written in PHP. Some time ago he mentioned he wanted to make the source code of the site public, to which my response was ...
3
votes
1answer
904 views

What's the best version control/QA workflow for a legacy system?

I am struggling to find a good balance with our development and testing process. We use Git right now, and I am convinced that ReinH's Git Workflow For Agile Teams is not just great for capital-A ...
12
votes
7answers
1k views

What will be the best practice for having 'reviewed' source code in a source control repository?

What will be the best way to manage reviewed source code in a source control repository? Should the source code go through a review process before getting checked in, or should the code review happen ...
8
votes
3answers
545 views

git in non-distributed, independent, lone programming …best practice(s)?

I am currently studying the git documentation to get a hang of distributed version control workflow and use of git command line. I want to first start using git with small, personal, pet projects so ...
47
votes
22answers
15k views

What are some good practices before checking in source code? [closed]

My team uses Team Foundation Server for source control, and today I fixed some bugs and smoke test application before I checked it in but I forgot to comment some code. (This code made the UI a little ...
7
votes
3answers
634 views

Releasing software/Using Continuous Integration - What do most companies seem to use?

I've set up our continuous integration system, and it has been working for about a year now. We have finally reached a point where we want to do releases using the same. Before our CI system, the ...
1
vote
1answer
189 views

Using branches for a mini project or module of project: Good practice?

In my repo I have 3 closely related mini projects: 1 server and 2 clients. They are all quite small (<3 files each). Since they are so small and so closely related I just dropped them in folders in ...
10
votes
7answers
1k views

Easy way of engaging non-programmers (i.e. designers) into using version control?

What are some key ways of getting your team involved in using version control during development, web development or otherwise? I refuse to work without it, which means anyone involved in the project ...
8
votes
5answers
341 views

How do I check that my tests were not removed by other developers?

I've just came across an interesting collaborative coding issue at work. I've written some unit/functional/integration tests and implemented new functionality into application that's got ~20 ...
32
votes
8answers
8k views

Can you recommend a good commit message template / guidelines to enforce in the company? [closed]

In Git it's possible to set and enforce a good commit template. Can you recommend (preferably with argumentation) a good commit template / guidelines to enforce in the company?
3
votes
3answers
124 views

Maintaining a main project line with satellite projects

Some projects I work on have a main line of features, but are customizable per customer. Up until now those customizations have been implemented as preferences, but now there are 2 problems with the ...
44
votes
2answers
18k views

What is Google's repository like?

I heard Google has a giant private (internal) repository of all of their code and their employees have access to it so that when they are developing things they don't have to reinvent the wheel. I'd ...
3
votes
2answers
355 views

Convincing my coworkers to use Hudson CI

Im really aware of some benefits of using Hudson as CI server. But, im facing the problem to convince my coworkers to install and use it. To put some context, we are developing two different products ...
4
votes
2answers
743 views

How to organize back-end database design and front-end application in software repository?

I have an application that has a back-end database (tables, procedures, database specific dlls) and front-end (application logic and UI) that separate people are working on. I was wondering what's the ...
9
votes
3answers
457 views

Preserving version control commit history vs Refactoring and Documentation

It costs almost nothing to use the commit history maintained by the version control system. However, during a major project refactoring (or reorganization / cleanup) effort, functions and classes and ...
5
votes
3answers
1k views

Distributed Development Tools — (Version control and Project Management) [closed]

I've recently become responsible for choosing which source control and project management software to use for a company that employs me. Currently it uses Jira (project management) and Subversion (...
277
votes
10answers
32k views

I'm a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS?

I try to understand the benefits of distributed version control system (DVCS). I found Subversion Re-education and this article by Martin Fowler very useful. Mercurial and others DVCS promote a ...
26
votes
11answers
1k views

Business case for decentralized version control systems

I searched and couldn't find any business reasons why git/mercurial/bazzr systems are better than centralized systems (subversion, perforce). If you were trying to sell a DVCS to a non-technical ...