version-control

What is the best way to organize multiple projects when using git

I have 5-10 independent projects that I want place under version control using Git. What is the best way to organize the projects/respositories: Use one repository for each project use one repository for all my work and use subdirectories for each project Or something completely different What has worked best for you and why? ...

SVN on Windows

Sorry in advance if this not 'SO'-ish enough--- I have a tech writing friend who is looking into version control for her word and visio documents. I advised her to check out TortioseSVN or whatever M$-flavor of Git is out there for local version control. However, she is concerned about what will happen if a file gets corrupted...I obv...

Best version control system for a mobile phone application?

I'm developing a mobile phone application that targets a lot of mobile devices based on the capabilities they offer. There would be a base feature set which all phones are expected to support and then there would be additional features that would depend on specific set of phones. How do I manage such a code base in terms of a version co...

TeamCity Projects and Multiple SVN Branches

In the spirit of keeping my SVN trunk clean and ready for deployment, I've been utilizing the following source control model. For the impatient, the basic concept is that you create development branches to do actual development, and leave the trunk clean and ready for deployment, at any time (no junk in the trunk). In addition to this, ...

Should I store generated code in source control

This is a debate I'm taking a part in. I would like to get more opinions and points of view. We have some classes that are generated in build time to handle DB operations (in This specific case, with SubSonic, but I don't think it is very important for the question). The generation is set as a pre-build step in Visual Studio. So every t...

Meta Source Control?

What do source control developers use for source control? Is the source for subversion stored in a subversion repository? ...

Will using a VCS help me as a web dev?

I'm thinking of trying a VCS such as subversion, to manage my next project, but I'm not sure if will offer any real benefits for me as a web developer. As I understand it, one of the major benefits of a VCS is that a group of people can work on a project at once. Reading material on the subject seems pretty one sided: "Using a vers...

How to live with Visual Source Safe 2005?

I'm currently working in an environment that still has VSS 2005. I currently do not have the power to change to Subversion, TFS, etc. What are the main gotchas to watch out for with VSS 2005--how can I best use it to try and save my versions and not blow up my source code? For example, is it better to integrate it with Visual Studio...

In gitk, why is my yellow button above master?

I couldn't find any documentation on gitk about what the colors mean, but the problem here I think is that my yellow button has passed my master. Now when I try to do: git push origin master It doesn't work. How did my yellow button get over master and how do I get them back together so I can do push origin master? This is what it loo...

Installing Git on OS X

I am trying to install Git on Mac OS X Leopard. I'm trying to avoid the MacPorts/Fink route. I'm also trying to avoid the installer on Google because I've gotten very far on my own, but if I have to I'll go ahead and download the installer. Anyway, I have Git installed. /usr/local/bin/git. The problem is that none of the documentation i...

C++ project source code layout

One of the popular way to organize project directory is more or less like this: MyLib +--mylib_class_a.h mylib_class_a.cpp mylib_library_private_helpers.h mylib_library_private_helpers.cpp MyApp +--other_class.h other_class.cpp app.cpp app.cpp: #include "other_class.h" #include <myl...

Git: checking out a file from a previous commit and amending it to HEAD

I recently committed a file to the HEAD of my branch which has errors in it. I need to do the following things: Get that file from one commit previous to HEAD Commit that file back into HEAD What's the best way of going about that? ...

How do I create a commit comment template for ankhsvn?

I'm using AnkhSVN with Visual Studio 2008. I'm looking for a way to setup a default template for every commit comment. Is there a way to configure this? ...

When to start to use source control in early stages of development?

We have 2 kinds of people at my shop: The ones that starts to check-in the code since the first successful compilation. The others that only checks-in the code when the project is almost done. I am part of group 1, and trying to convince people of group 2 to act like me. Their arguments are like the following: I'm the solo develope...

Does GIT accelerate operations when there's latency between the main repository and some of the developers machines?

Our shop is geographically distributed, and our current source control is centralized, slowing the source control operations (check-in/check-out) for developers far from it. If we migrate to GIT, would it make any of these operations faster? ...

Writing my own file versioning program

There is what seems to be a plethora of version control systems. Therefore, to draw a bad conclusion, it must be easy to write one. What are some issues that must be considered in order to write a simple file versioning system? (What are the minimum necessary functions?) Is it a feasible task for one person? ...

Code formatting and source control diffs

What source control products have a "diff" facility that ignores white space, braces, etc., in calculating the difference between checked-in versions? I seem to remember that Clearcase's diff did this but Visual SourceSafe (or at least the version I used) did not. The reason I ask is probably pretty typical. Four perfectly reasonable ...

Visual Studio 2008 Source Control Explorer with Subversion

I usually use Visual Studio Team System 2008 Source Control Explorer with TFS, but I'm considering using Subversion for some small projects, can I make use of the already installed Source Control Explorer without installing a new Subversion client/plugin in my IDE? ...

There is any way to synchronize GIT and Subversion repositories?

I want to access a repository using both GIT and SVN clients. A way I imagined to do that is through automatic two-way migration: when a user PUSHes into the GIT repository, it is also COMMITed in the SVN repository and vice-versa. There is any tool that would help me to do that? ...

How to structure a VCS with multiple dependent projects

I'm sure that this is a common issue that other have solved before so I'm calling on the collective wisdom of other developers/project managers out there for some help. I've got a number of projects: Application WebApp ServerApp Dev Utils ORM All of the apps/utils depend on the ORM: When the ORM changes, it needs to be compiled and ...