version-control

How to release with Git?

I have a basic question about Git: Let's say there is subdomain git.mysite.com with git installed in it. My actual site is on mysite.com. How do I tell Git to "release" a specific or latest commit to mysite.com? I use MediaTemple(gs) for my hosting. Site is in /domains/mysite.com/html and Git is in /domains/git.mysite.com/html/mysite.g...

In Eclipse, how to have launch configurations relative to the project?

I usually have multiple copies of a project, for example: a copy of the trunk and another of the last release branch. To cleanly separate my project files from Eclipse, they are checked out from Subversion in a directory outside the Eclipse workspace. I want to make the project easily importable to Eclipse and followed instructions fro...

git still untracked after add

Hello, Everytime I do git status there is this folder that appears as untracked. $ git status # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # src/error/ nothing added to commit but untracked files present (use "git add" to track) Even after doing git add ., git commit...

List commits made by others (i.e. not me)?

Is there a standard way to list all the commits made by others (i.e. not myself) in a git repository? I tried git log --not --author=username, but it would appear that --not only applies to revisions. The manpage for git log doesn't appear to offer a way to invert predicates like --author. (I use git-svn at work, and want a way to see ...

Web application for browsing source code repositories

Are there any web applications for browsing source code repositories that use popular version control systems? I know that many open-source code sites have a web application for browsing code on that site, but are there any that let you view repositories hosted on any site? Sometimes, a web application is just so much more convenient th...

Git repository inside another git repository

Hi people! I have the following directories structure: g1/ .git a b c/ .git d e As you can see, I have de repository "c" inside repository "g1". When I use the following command: git clone g1 g2 I only get the following directories structure: g1/ .git a b c/ The directory...

Deploying changed files from repository?

Hi everybody, I have tested both mercurial and SVN recently, and I fell for Mercurial to solve my version control needs. However, I have files in my repo, that I work on locally and commit my changes to daily. I have yet not found any way to deploy files to a remote production environment from my local testing environment. How can I d...

How to remove a commit in git that has no specified branch?

I have the following git repo structure: a-b-c-d-.. [master] \ x The commit x was accidentially done (can't figure out how) and has no named branch. How can I delete this commit? For detail, git log shows this (Translated back from german, sorry for any inconvieniances): Author: ... Parents: 8444.. Branch: Follows up: Prece...

Does Subversion support aliases for branches

Is there a way in subversion to specify that a specific path is an alias for a different path, with the ability to update that alias as conditions change? Can I lock paths to prevent changes in them? I'm working on a repository structure and what I'd like to do is have the following paths: /versions/1.0 - Previous Release (Locked) /v...

Using git-svn, if I have multiple commits not in svn, how do I only push selected commits to svn?

Let's say I have multiple commits in my local git repository that have not been pushed to svn. For example, these four commits on master. A <-- B <-- C <-- D A is the oldest commit not in svn and D is the newest commit. How do I use git svn dcommit to only push A and B to svn, but keep C and D only in my local git repository? Alter...

How do I remove an author from a git repository?

If I create a Git repository and publish it publicly (e.g. on GitHub etc.), and I get a request from a contributor to the repository to remove or obscure their name for whatever reason, is there a way of doing so easily? Basically, I have had such a request and may want to replace their name and e-mail address with something like "Anony...

Looking for guidance on developing specialized a version control system

I work in the architecture and construction industry, but currently spend a lot of my time doing software development. After moving my software projects into Subversion repositories I've realized how much this industry really needs a similar system for design and construction documents. I've only been developing software for a year and h...

Good SVN setup for Java/SQL web development environment

I'm working on migrating my company from VSS to SVN for SVM. We develop tools for use by our business that live within a central web application. Right now our setup is as follows: The Java developers develop and test locally, and once complete, check their files into VSS. Their local code points to a stage SQL instance. Once or twic...

Project reference path in source control?

Hi all, during development of our application we use a branching structure and while we are developing another team is using earlier builds of our software to create content with it. To facilitate easy swapping between builds and teams I was hoping to use empty Hintpaths in the content projects' csproj files so that they can use our GA...

Which SCM can comfortably handle 90,000 files

I have a folder which contains a whitelabel-esque system; theres way over 90,000 files in there. Currently its stored in SVN and we just checkout the sub-folders as required. Would mercurial or another SCM be able to handle having the lot checked out at once without it dying when you try to commit. ...

Keeping page changes history. A bit like SO does for revisions.

I have a CMS system that stores data across tables like this: Entries Table +----+-------+------+--------+--------+ | id | title | text | index1 | index2 | +----+-------+------+--------+--------+ Entries META Table +----+----------+-------+-------+ | id | entry_id | value | param | +----+----------+-------+-------+ Files Table +----+-...

Capistrano uploads the .git directory

I am using git with capistrano. I initialized my project inside my folder on my local machine as such: git init I then pushed the project the server directory I then called cap deploy The deploy works, except that it uploads the local .git folder structure, as well as my .gitignore and Capfile to a publicly accessible folder. Here's...

A New BI / Database project: how to take databases under version control?

We are starting a new BI project in our company. We have at least three developers working with database design and development. Our tools include Sparks EA, SQL Server 2008 EE and undetermined reporting tools. What kind of tools one can use for database version control in SQL Server? What kind of version control systems there are availa...

Picking open source software hosting facilities

I'm working on a project that I would like to make Open Source in the long run, and in the short run I'd like to make sure I have copies of all code and related files some place other than my laptop. So it seems like I should select an open source hosting service, but there are so many to choose from it's hard to know where to start. T...

Easy to use revision control for one person

I use revision control tools to handle ever changing versions of my webpage, LaTeX documents, as well as actual source code, but I don't think I'm doing it right. I used cvs for a while, then git more recently, but I'm not really happy with them, possibly because I'm using them incorrectly. I'd like some advice on how to use them corre...