Questions tagged [version-control]

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

When using version control in a software project: each file belonging to the project is inventoried and stored in a repository, associating a version to each file. Whenever any of the files in the repository needs to be changed, it is recovered from the repository and delivered to the developer who will modify the file. When the developer has finished modifying the file, it is stored again in the repository, associating a new version to the file.

969 questions
124
votes
15 answers

Why big companies use Perforce?

I heard about some big companies e.g. Google, Facebook use Perforce Are there any reason why SVN/Git cannot replace Perforce?
user34401
  • 751
71
votes
19 answers

When is a version control commit too large?

I've heard in several places "Don't make large commits" but I've never actually understood whats a "large" commit. Is it large if you work on a bunch of files even if there related? How many parts of a project should you be working on at once? To…
TheLQ
  • 13,580
67
votes
9 answers

Is committing/checking in code everyday a good practice?

I've been reading Martin Fowler's note on Continuous Integration and he lists as a must "Everyone Commits To the Mainline Every Day". I do not like to commit code unless the section I'm working on is complete and that in practice I commit my code…
Sled
  • 1,868
  • 3
  • 17
  • 24
40
votes
15 answers

What are your favorite version control systems?

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 different systems across categories (centralized vs…
Fishtoaster
  • 25,919
30
votes
9 answers

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 example: I don't have to care anymore for local…
RoflcoptrException
  • 2,045
  • 2
  • 17
  • 18
30
votes
10 answers

Should temporary code be put under version control and how?

Here are some examples of temporary/local code. It is needed in order to work with the codebase, but would be harmful to be part of it: Project files. Paths may need to be edited in order to reflect the layout on the current PC. Makefiles. For…
Vorac
  • 7,129
27
votes
8 answers

Why are source control systems still mostly backed with files?

It seems that more source control systems still use files as the means of storing the version data. Vault and TFS use Sql Server as their data store, which I would think would be better for data consistency as well as speed. So why is it that SVN,…
Andy
  • 2,014
26
votes
18 answers

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 SourceSafe be used successfully, without problems, and if…
billy.bob
  • 6,549
  • 4
  • 30
  • 46
24
votes
12 answers

What is the best local version control tool for personal use?

Possible Duplicate: Version control for independent developers? I was wondering if there is a tool out there which acts as Visual Source Safe but only on local machine. Basically I would like to check in and check out on my local machine when I…
24
votes
11 answers

How do I set up a source code control system for myself?

I program on my desktop in my office, but also sometimes at home in a different room on my laptop, and even away from home. What I need is a system that automatically or on-demand syncs my work from one to the other, at need. I do not have a home…
24
votes
9 answers

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 closed. However, I fear that my would-be employees…
abel
  • 697
19
votes
3 answers

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?
john ryan
  • 373
19
votes
7 answers

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 track of which file I've edited or changed etc.…
ptamzz
  • 301
  • 1
  • 6
19
votes
8 answers

How should code in version control be stored?

How should code in version control be stored? Developer friendly? so that programmer can quickly take the latest and able to run from his editor without doing many changes? (like config files pointing to dev DB..etc) or Should it be production…
Pavan G R
  • 415
17
votes
4 answers

Are There Realistic/Useful Solutions for Source Control for Ladder Logic Programs

Version control for ladder logic (LL) programs for programmable logic controllers (PLCs) seems to be virtually non-existent. It may be because LL is a visual language and tends to be stored in binary files, or it may be because source code control…
1
2 3 4 5 6 7