A programming discipline for tracking, storing and retrieving revisions of source code.
28
votes
8answers
3k views
Version control for independent developers?
Do you think it's worth it to use version control if you are an independent developer, and if so, why? Do you keep the repository on your own computer, or elsewhere, where it can serve as a backup?
227
votes
12answers
17k 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 ...
12
votes
8answers
2k views
version control for small team
We are bootstrapping a new team of very small size (say 2-5) my question is:
which type of version control works best for these kind of teams, either centralized or distributed.
151
votes
18answers
16k views
What does SVN do better than git?
No question that the majority of debates over programmer tools distill to either personal choice (by the user) or design emphasis, i.e., optimizing design according to particular uses cases (by the ...
40
votes
15answers
6k views
What are your favorite version control systems? [closed]
This is more a discussion question than an actual attempt to determine the "best", since that clearly varies by the needs of the organization. I'm more curious about the arguments in favor of ...
19
votes
11answers
2k views
How often should I/do you make commits?
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, ...
12
votes
6answers
991 views
git / other VCS - how often to commit?
I've been a programmer now for over 11 years, and am just starting to get into version control for real. The places I've worked at have never really used version control (one committed at the end of ...
62
votes
12answers
6k 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 ...
34
votes
13answers
1k views
Should a developer always use version control [duplicate]
Possible Duplicate:
Version control for independent developers?
I've heard statements to the effect of: "Well it's just me working on this project so I don't need to put it under source ...
24
votes
18answers
1k views
What is your typical source control commit comment? [closed]
What details, if any, do you record in your comments when committing to source control? Do you tend to commit every tiny change or only mega updates to your code? Do you have any system or style guide ...
11
votes
6answers
1k views
What advantages do continuous integration tools offer on a solo project?
If you're doing a solo project - would you use CI tools to build from a repository? I've used Hudson and Cruisecontrol in a team environment, where it's essential to build as soon as anyone checks ...
9
votes
8answers
2k views
How to manage a Closed Source High-Risk Project?
I am currently planning to develop a J2EE website and wish to bring in 1 developer and 1 web designer to assist me. The project is a financial app within a niche market.
I plan to keep the source ...
17
votes
4answers
942 views
Are there advantages to using a DVCS for a solo developer?
Right now, I use visual svn on my server, and have ankhsvn/tortoise on my personal machine. It works fine enough, and I don't have to change, but if I can see some benefits of using a DVCS, then I ...
8
votes
8answers
373 views
Moving from one man project to team project in the future. What should I be doing now in preparation and what can wait?
To elaborate I am interested in knowing what people think you need to put in place while still a one man project (team source control, documentation, builds etc) and what things don't need to be done ...
148
votes
31answers
21k views
Is it unusual for a small company (15 developers) not to use managed source/version control?
It's not really a technical question, but there are several other questions here about source control and best practice.
The company I work for (which will remain anonymous) uses a network share to ...
70
votes
22answers
3k views
How do I convince my fellow devs to WANT to add comments to source code commits?
I know that Subversion (what we're using at work) can be configured to require comments on commits, however I'm not in a position of power to simply turn this on. I know that my reason for commenting ...
42
votes
18answers
3k views
What Part of Your Project Should be in Source Code Control?
A fellow developer has started work on a new Drupal project, and the sysadmin has suggested that they should only put the sites/default subdirectory in source control, because it "will make updates ...
10
votes
7answers
755 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 ...
10
votes
9answers
2k views
Bug tracker that integrates with source control
I thought this would be easy, but its been sort of a disaster. I want to set up a bug tracker that integrates with source control. At a minimum, when you commit to source control, it should notify ...
8
votes
2answers
2k views
How can I keep my visualstudio database project in sync with my database?
I'd like to have my database schema synchronized with my Visual Studio .dbproj database project.
Right now, I'm using SSMS for most of my database development work, and I've to manually use the ...
5
votes
4answers
287 views
Source/Version control for application used by multiple companies
Do you find it easier to keep a branch for each company that uses software you support/develop? Each company will want "customizations" and I am just trying to figure out the best way to handle those ...
20
votes
4answers
777 views
When should the VCS history of a project be deleted?
I just refactored my project's entire codebase. So much so that even though it uses most of the same code base, things work in a radically different way. If the old version was 1.0, the new one would ...
17
votes
2answers
727 views
What is the value of using version control?
I'm new to version control (currently using SVN), but I don't understand how this helps developers. What does version control do that makes it useful in a development environment?
17
votes
11answers
403 views
Fixing a bug while working on a different part of the code base
This happened at least once to me. I'm working on some part of the code base and find a small bug in a different part, and the bug stops me from completing what I'm currently trying to do. Fixing the ...
7
votes
4answers
487 views
What are good source control check-in strategies for large tasks?
The general rule is to keep check-ins small and check-in often. But sometimes the task requires large changes to the underlying framework. Then checking in before compeleting the task will break the ...
104
votes
17answers
5k views
Should I tell someone that their commit caused a regression?
When you track down and fix a regression—i.e. a bug that caused previously working code to stop working—version control makes it entirely possible to look up who committed the change that broke it.
...
46
votes
12answers
2k views
Database source control
Should database files(scripts etc.) be on source control?
If so, what is the best method to keep it and update it there?
Is there even a need for database files to be on source control since we can ...
67
votes
23answers
6k views
Why did Git get so much hype? …while others don't? [closed]
In the recent years, the hype around Git raised greatly. Everybody knows about Git, nobody knows about alternatives.
Other ones like Mercurial seem to be unnoticed. Both have been released in 2005, ...
26
votes
2answers
2k 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 ...
44
votes
15answers
18k views
Why big companies use Perforce? [closed]
I heard about some big companies e.g. Google, Facebook use Perforce
Are there any reason why SVN/Git cannot replace Perforce?
20
votes
7answers
2k views
Can you recommend a good commit message template / guidelines to enforce in the company?
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?
62
votes
12answers
2k views
Is there a point to including a “change log” in every code file when you are using version control?
I was under the impression that a version control system eliminated the need to have "change logs" plastered everywhere in the code. I've often seen the continued use of change logs, including big ...
17
votes
8answers
1k 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 ...
28
votes
9answers
6k views
Should images be stored in a git repository?
For a distributed team that uses Git and Github as version control, should images also be stored in the git repository?
For the most part, the images won't be changed. The folder containing them will ...
45
votes
8answers
2k views
Should I expect my team to have more than a basic proficiency with our source control system?
My company switched from Subversion to Git about three months ago. We had weeks of advance notice prior to the switch. Since I'd never used Git before (or any other DVCS), I read Pro Git and spent a ...
18
votes
11answers
2k views
Should your best programmers have to check everyone else's code into source control?
One of the differences between svn and git is the ability to control access to the repository. It's hard to compare the two because there is a difference of perspective about who should be allowed to ...
13
votes
10answers
1k views
What is a good toy example to teach version control?
I am looking for practical examples to use when teaching version control.
Breaking down the material to basic concepts and providing examples is an obvious way to teach version control, but this can ...
14
votes
9answers
1k views
Is it good idea to require to commit only working code?
Sometimes I hear people saying something like "All committed code must be working". In some articles people even write descriptions how to create svn or git hooks that compile and test code before ...
12
votes
17answers
2k views
Why should i write a commit message?
Why should i write a commit message? I dont 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 everytime even if ...
9
votes
2answers
320 views
What is the recommended way to separate current development from maintenance development in version control software?
I have some software application managed using Git. I just released a new version 2.x which I plan to maintain on the long term (bug fixes mostly). In the meantime, I would like to start working on ...
12
votes
7answers
719 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 ...
9
votes
11answers
507 views
What should I put in comments while commiting to the Source Control?
I am a lone developer and maintain a SVN server for source control. So far, I haven't followed anything specific while committing my changes.
I was just reviewing my previous commits, and couldn't ...
9
votes
3answers
780 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 ...
25
votes
18answers
2k views
Is SourceSafe really safe?
Having spent all morning trying to check something in - I now realise I've lost a couple of days worth of work.
Its happened before - and is apparently common occurrence with SourceSafe. Can ...
15
votes
7answers
436 views
How do you structure your shared code so that it is “re-findable” for new developers?
I started working at my current job about 8 months ago, and its been one of the best experiences I've had as a young programmer. It's a small company, and both my co-developers are brilliant guys.
...
7
votes
7answers
1k views
What is the preferred tool/approach to putting a SQL Server database under source control?
I've evaluated RedGate SQL Source Control tool (http://www.red-gate.com/products/sql-development/sql-source-control/), and I believe that Team Foundation Server 2010 offers a way to do this as well ...
6
votes
4answers
644 views
How do you put different versions of your library under version control? Do you use tags? Or branches? Or another method?
I have recently started putting my code under version control (in the lab I'm working, under SVN, and my own codes in github (obviously with git)). Before using version control, I used to do something ...
9
votes
2answers
429 views
Why are developer commit statistics harmful?
I have long believed (and heard from others) that keeping track of commit statistics, such as how many commits each developer makes per day, is harmful to the development process. The reason seems ...
8
votes
3answers
487 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 ...
6
votes
9answers
987 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 ...