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

learn more… | top users | synonyms (2)

3
votes
2answers
529 views

Can an open source solution match or surpass Team Foundation Server's features? [closed]

Team Foundation Server offers a version control system, but with many more side features, such as bug tracking, user stories, project planning, and it is all integrated into visual studio. Someone ...
5
votes
3answers
2k views

version control security

We are looking for a version control tool. I personally think it's pretty cool to use Git. However, my boss recommends TFS. He told me it's much more secure to use an SQL Sever based tool, such as TFS ...
8
votes
2answers
1k views

How can I organize personal git repositories?

I'm in the process of setting up a GitHub account with the plan of making a pair of libraries I developed as parts of some recent iOS projects freely available for other iOS devs to use. I don't ...
1
vote
1answer
625 views

Is it a good practice to capture build artifacts in Artifactory that Jenkins produces?

We use Jenkins to run continuous integration builds. The output of these builds might be EAR files, WAR files, or just a collection of files that are TAR'd up. To this point we have used Jenkins to ...
0
votes
1answer
75 views

How to capture different build verisons of the same production release artifact version in Artifactory?

Let's say I have artifacts "mylibrary-5.2.jar" and "mylibrary-5.3.jar" representing the 5.2 and 5.3 versions of a library that our project creates and publishes for one of our other projects. Does ...
1
vote
1answer
150 views

Is there a way to compare and record changes to code without VCS?

I'm working for a client that has no version control system in place. I want to record changes to code without having to add all changes to a spreadsheet. I'm restricted to using Notepad++ so would a ...
2
votes
2answers
245 views

MIT License Question (download somebody else's code and throw it on github)

Sometimes I use plugins and 3rd party libraries, and one thing that drives me crazy is when these libraries are not versioned. So, if I download it, make some mods to it, I am the only person in the ...
9
votes
2answers
411 views

Any reasons not to use multiple version control systems?

I'm working on a project which uses GIT as the main version control system for trunk, the official branches and most sub-projects/unofficial branches. As such, I want to make my own branch use GIT to ...
2
votes
1answer
170 views

How should common interfaces be shared across source control repositories?

I have code that represents the interface for a library that is used by a variety of internal clients. How should that interface code be exposed to these internal clients that live in different source ...
13
votes
4answers
1k views

Why is it preferred to write a commit message in present tense/imperative mood?

I often read/overhear that good commit messages should be written in present tense or to use imperative mood when describing the change eg. Fix xyz instead of Fixed xyz. What are the advantages of ...
1
vote
2answers
1k views

How to utilize Xcode project & target to manage products?

At first, hopefully following terms project and product won't be confused. Traditionally, we used to have a code base, which usually was a main project. For our products, we created one project for ...
-1
votes
2answers
451 views

Am I shooting myself in the foot if I use Mercurial for Rails development?

I'm a Rails developer and I prefer Mercurial over Git. However, I know that the Rails community is very pro-Git. So my question is it possible that my choice of version control system would turn back ...
5
votes
6answers
3k views

What is the most basic and simple platform for collaborative development (PHP project)? [closed]

I need to work with 4-5 programmers on a fairly average PHP application using codeigniter. We're in 5 different locations in one city, and all of the programmers are all not too well educated and I'm ...
13
votes
10answers
1k views

What is a good toy example to teach version control? [closed]

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 ...
2
votes
4answers
596 views

Approaches to manage related binary files, apart from code [duplicate]

I'm working on a website for a photographer, the whole code is just a few files, and whole repository is a few MBs without the actual photographs. But, when I add the actual photographs to git and ...
3
votes
4answers
618 views

Release Management versions control?

We recently experienced a deployment issue where it turned out that the version objects were not in sync in one of the environments. We have a large database group and different teams have different ...
5
votes
1answer
217 views

Why use binary files to stack up different versions on DMSs?

I've used both Liferay and Alfresco trying to use them as the Document Management System for an intranet. I noticed the following: They use the file system and the database to store files They use ...
6
votes
5answers
680 views

What is an effective git process for managing our central code library?

Quick background: we're a small web agency (3-6 developers at any one time) developing small to medium sized Symfony 1.4 sites. We've used git for a year now, but have previously used Subversion. For ...
5
votes
1answer
753 views

How to fetch commit messages from bitbucket for project manager to see

Is it possible to fetch commit messages from bitbucket via json or something so that a project manager can see what the changes are without having to look at the code. If it's possible can you give me ...
2
votes
1answer
263 views

HG: fork web app project to separate API code from app code [closed]

I have a web app thats been in active development for about 8 months now and its becoming apparent that the project has a need to maintain a separation between app specific code and our OO Javascript ...
8
votes
2answers
236 views

What is the canonical approach to using a VCS right from a project's infancy?

Background I've used VCS (mainly git) in the past to manage many existing projects and it works great. Typically with an existing project, I would check in each change I make to the code that either ...
12
votes
5answers
533 views

Reformatting and version control

Code formatting matters. Even indentation matters. And consistency is more important than minor improvements. But projects usually don't have a clear, complete, verifiable and enforced style guide ...
3
votes
2answers
220 views

Best practices for including open source code from other public projects?

If I use an existing open source project that is hosted for example on github within one of my projects, should I check in the code from the other project into my public repo or not? I have mixed ...
5
votes
4answers
253 views

Version control implementation advice on legacy websites?

Assuming no experience with version control systems, just local to live web development. I've been dropped in on a few legacy website projects, and want an easier and more robust way to be able to ...
6
votes
7answers
680 views

Personal Version Control Benefits [closed]

What are the benefits, if any, of having a personal Version Control System? This includes such things as personal projects, hobbies, sample code accumulated over the years, etc. Over and above the ...
2
votes
2answers
627 views

using source control to create release notes?

Lets say i have an off the shelf eccomerce cart. I put all the code inside subversion. I start to make changes and check the code changes back in. is it possible to then display each "check in" with ...
6
votes
5answers
2k views

Handling (many) multiple projects in Git in an enterprise environment

One of the advantages of older version control systems such as CVS and SVN in enterprise development is that anyone can connect to source control and see all the projects that the company has. This ...
11
votes
4answers
2k views

Using git correctly in a small team

What would be the easiest way to use git correctly in a small team of about 5 developers, with one server running the live application?
36
votes
8answers
2k views

What is the term for a really BIG source code commit?

Sometimes when we check the commit history of a software, we may see that there are a few commits that are really BIG - they may change 10 or 20 files with hundreds of changed source code lines ...
3
votes
2answers
128 views

How to commit a file conversion?

Say you've committed a file of type foo in your favorite vcs: $ vcs add data.foo $ vcs commit -m "My data" After publishing you realize there's a better data format bar. To convert you can use one ...
6
votes
5answers
2k views

How do you keep released binaries under version control?

How do you keep released binaries under version control? This allows to track which stuffs are changed between each release. I mean to separate the released binaries from source repository. The ...
4
votes
1answer
739 views

Two git repositories, one project

I am building an app using Code Igniter, it is being based on CI-Bonfire. I am pulling in the dev branch of CI-Bonfire using git, I want the entire project to be git controlled as well, but I want to ...
9
votes
1answer
640 views

Why do some open source projects do not accept pull requests, but emailing patch files only

Why do some open source projects do not accept pull requests, but emailing patch files only? e.g. Git Although they publish code in github or other distributed scm hosting. It is not interactive nor ...
4
votes
5answers
301 views

Using version control to manage site backups?

Last week I started making daily backups of my relatively small (~300mb) site. The backups are zipped, so it's less space, but it will quickly add up, especially as my site gets bigger. I was ...
-2
votes
8answers
466 views

When should I backup files? [closed]

At our company we are not using a source control so we do backup manually. My habit is like this: I backup only scripts where I removed code snippets, and those scripts where I only added code ...
5
votes
1answer
1k views

Why do Git/Mercurial repositories use less space?

I've read on several discussions here and on SO that DVCS repositories use about the same or less space than their centralised counter-parts. I may have missed it, but I haven't found a good ...
2
votes
1answer
252 views

Can/Should I put my Git repository on a non-dev machine and keep it synced with the non-version control server?

I volunteer for a website, and well, basically, we don't have version control. We're working to change that, but because of several things, including the fact that I haven't worked with source control ...
4
votes
6answers
1k views

Managing a website with version control?

The small website I built a long time ago is starting to pick up a little and I'm starting to run into problems with making changes. Originally, all the pages were .html and I would edit and test them ...
3
votes
1answer
654 views

Command line merge conflict tools

I sometimes prefer to work in a terminal. I use git, and sometimes have merge conflicts. Are there any merge-conflict-resolution tools that work in a command-line only environment?
29
votes
10answers
2k views

Writing commit messages as a solo developer?

On my projects where the repository is shared between me and other programmers, I always write commit messages even if I'm the primary developer. But on those projects where I'm the solo developer ...
6
votes
2answers
201 views

Any recognized convention for repository changelogs?

We use TortoiseSVN, but we have no bug tracking system. I know, lame, but beyond my control. There were times when svn wasn't in daily use. Now I've had succeeded in pressing for using it regularly, ...
21
votes
11answers
2k views

Should I use a code repository if I am the only one working on a project? [duplicate]

Possible Duplicate: Version control for independent developers? I am not sure if I should use a code repository when I am the only one working on a project.
4
votes
3answers
278 views

Which revision control system to use for 2 semester capstone course? [closed]

For CS undergraduate students working on a 2-semester capstone course without any prior exposure to revision control systems, what would be a good one to use? Desirable qualities would be easy to ...
2
votes
2answers
276 views

Trac/SVN to DVCS Migration

The project I'm currently working on is using Trac, with SVN integration. It's worked great until now. Now, however, we've taken on some additional developers and we're running into issues with ...
8
votes
5answers
1k views

How to keep Free/Paid version of the app separate in subversion

I have a paid application on the android marketplace, however, I want to release a free ad-supported version. The easiest way I thought to do this was to set up a branch on my subversion repository ...
2
votes
3answers
481 views

Where does my database schema live in MVC?

I'm starting to check in the SQL files for creating/maintaining our database. Previously SQL files were kept totally separate from our codebase's version control. I'd like to pragmatically store my ...
11
votes
5answers
3k views

What's the best way to review a code before it's committed to the trunk? (SVN)

What's the best way to review a code before it's committed to the SVN trunk? One idea that I am thinking of is to having the developer to commit his code to a branch and then reviewing his code while ...
8
votes
3answers
370 views

Should I add old code into my repository?

I've got an SVN repository of a PHP site and the last programmer didn't use source control properly. As a result, only code since I started working here is in the Repo. I have a bunch of old copies ...
8
votes
4answers
425 views

On improving commit practices

I was thinking about ways to improving my commit practices. Is there any co-relation between no. of source code lines and no. of commits? In a recent project that I was involved in, I was going at ...
2
votes
3answers
402 views

Development processes, the use of version control, and unit-testing [closed]

Preface I've worked at quite a few "flat" organizations in my time. Most of the version control policy/process has been "only commit after it's been tested". We were constantly committing at each ...