Git is an open-source DVCS (Distributed Version Control System)

learn more… | top users | synonyms

2
votes
5answers
358 views

Is there any evidence that graphic interfaces tend to mess with SVN- and Git-repositories?

In my company I am faced with assertion that graphic interfaces for VCSs like SVN or (especially) Git tend to mess repositories - especially regarding branching. Being a passionate Windows and GUI ...
5
votes
7answers
1k views

people fork my project but don't fetch from upstream - what can I do?

Several people have forked my github repo but they have not fetched-merged from upstream. So my original repo has evolved significantly since the fork took place, and meanwhile these people are ...
5
votes
2answers
347 views

Is switching from a CVCS to a DVCS a considerable bandwidth save?

So, I'm in a big geographically-distributed company, we use perforce and I'm starting to make the case for a DVCS with a whitepaper I was requested to write. I was thinking that one of the arguments ...
4
votes
2answers
519 views

How to organize a framework based project in Git

Ok, so I have what appears to be a complex situation, and I'm wondering how to best organize it. I have limited experience with Git so I might be missing system. I have a framework developed ...
6
votes
3answers
323 views

What is the differences between committing and patching?

I am quite new to source control and would like to know the differences between committing and patching? Also, how/when a patch is use and can it be used on a web application?
2
votes
1answer
446 views

How to visualise Git commits on a video like a process?

There is a nice video which shows the development more like a process here. How can I visualise my own projects similar to this? Is there an open-source software to create this kind of visualisation? ...
5
votes
1answer
305 views

Which commit to add issue/bug tracking ticket # to

I have been committing changes in git for a project over the last several months. I would like to start integrating Trac into my workflow. Generally, I have the 'git flow' style of git repository. I ...
7
votes
2answers
771 views

Github Organization Repositories, Issues, Multiple Developers, and Forking - Best Workflow Practices

A weird title, yes, but I've got a bit of ground to cover I think. We have an organization account on github with private repositories. We want to use github's native issues/pull-requests features ...
2
votes
6answers
649 views

Why would I need a Git Repository?

I'm a beginning developer setting up a project in Xcode 4.3 and I'm wondering under what circumstances I would need to check the "Create local git repository for this project" box. Thank you!
15
votes
4answers
3k views

Are there any statistics that show the popularity of Git versus SVN?

I'm writing an essay, and would like to have some empiric evidence, perhaps longitudinal data where the popularity of these technologies is compared over a period of some years. Are there any ...
26
votes
8answers
2k views

Is it a good practice to use branches to maintain different editions of the same software?

We have a product that has a few different editions. The differences are minor: different strings here and there, very little additional logic in one, very little difference in logic in the other. ...
5
votes
3answers
419 views

Moving from a CVCS to a DVCS in a big company, what is the right way to do it?

Major Edit: Added more info about how the devs are setup and how a DVCS would help, so you don't have to second guess the DVCS (but you are still welcome to do it =P). I just started a new job and ...
6
votes
2answers
737 views

Managing multiple versions of a web application using Git

We have a family of apps, all having the same base. Until now I've been developing this base, and the Git workflow was very simple: Development is done in develop branch New features are developed ...
7
votes
2answers
813 views

Github-like “pull requests” without Github

I work as an analyst for a financial institution, which, due to data sensitivity, will not store any data in the cloud. However, I'm having some success getting my team to use Git for code management. ...
1
vote
0answers
404 views

How to properly approach a GitHub workflow as a solo developer? [duplicate]

Possible Duplicates: Are there advantages to using a DVCS for a solo developer? As a sole developer (for now), how should I be using Git? I'm a solo developer, and I've been quite comfortable ...
10
votes
2answers
691 views

A decent git branching model for products that should accompany the version of another, third-party product (and pros and cons of one proposal)

Note: My question is focused in my specific problem (which involves Liferay) but I hope it can be useful for anyone who needs to maintain various versions of a same project on git. I work on a ...
12
votes
3answers
2k views

When using Git, is using the master branch for active development advisable?

First, some background, we are in the process of moving all of our project teams over to using git and are in the process of laying down the guidelines for how the repositories should be organized so ...
4
votes
1answer
403 views

Which commit should close a Github issue when multiple commits are responsible?

I want to close issues in Github via my commit messages, but I'm not sure which commit should contain the magic "Closes #XXX" string when multiple commits are responsible for closing the issue. ...
5
votes
4answers
2k views

How to Use Subversion Repository Inside Git Repository?

I'm developing a project in Git. IT depends on another project, that's in a Subversion repository. I'd like to be able to make changes to the Subversion project in the tree, and commit to/update ...
5
votes
5answers
856 views

When and how to use the advanced features of git?

I'm not exactly a new git user but I have never used any of its advanced features such as tags, branches, merging and others. I haven't even used anything equivalent features from other VCS software. ...
5
votes
2answers
2k views

Is there a difference between merges in svn compared to git or mercurial?

From my understanding SVN is 'Easy to branch. Difficult to merge'. Why is that? Is there a difference how they merge?
26
votes
7answers
6k views

How to manage github issues for (priority, etc)? [closed]

I'm new to github, and am looking for advice on how to manage issues. I'm used to having priority and other ordering options but see that none exist. How do others manages issues during the ...
8
votes
3answers
471 views

Automatically update copyright date range from git?

As I write, we're 10 days into 2012. I bet many programmers are editing the copyright string at the top of their source files to something like: // Copyright 2008, 2010-2012 Some Company Unlimited ...
7
votes
2answers
288 views

How should I control the versions of my project on GitHub

I am trying to spend as much time as I can on GitHub nowadays (even I am the only person in team at work) to really feel how it is going to be like for a real world corporate application. One ...
16
votes
2answers
2k views

Empirical Evidence of Popularity of Git and Mercurial

It's 2012! Mercurial and Git are both still strong. I understand the trade-offs of both. I also understand everyone has some sort of preference for one or the other. That's fine. I'm looking for ...
2
votes
4answers
431 views

Best practices for team workflow with RoR/Github for designer + coder?

My friend and I have started to try to collaborate on some projects. For background, I come from a PHP/Wordpress/Drupal coding background, but recently I've become more experienced with the RoR ...
1
vote
3answers
485 views

version control workflow for environment with shared code

I work at a company that is looking into "upgrading" our version control system. We have about 200 websites that operate in their own directories. However, all of these websites use the same shared ...
8
votes
2answers
980 views

Git workflow for multiple teams

We are going to start using Git (not using it yet), and I want to define the workflow. We have 4 teams at 4 different global locations, developing together the same product. Each team owns a part of ...
9
votes
2answers
319 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 ...
2
votes
1answer
176 views

svn - when will I see conflicts?

I am just starting a new position and using svn rather than git (my favorite). With svn if there are any conflicts will I see them after an svn update or after an (attempt) to svn commit? In other ...
2
votes
4answers
561 views

What's the best way to handle multiple simultaneous “streams” of development in version control?

My department is planning on working on our next several releases (spanning a year) simultaneously. The powers that be are advocating we support this by refactoring all affected code into classes ...
2
votes
3answers
217 views

Is it fine to have broken intermediate commits, as long as the final commit in any push works?

Related: Should every git commit leave the project in a working state? Suppose I make the following commits locally: Modify the database schema, breaking the application. Update the application so ...
3
votes
1answer
638 views

Split git repository in two?

Nearly a year ago, I started writing a game. I was just messing around at the time, but now I'm pretty serious about it. As it's grown, it's taken on the responsibilities of a major game engine, as ...
2
votes
5answers
409 views

Documentation with images - what is the most git-friendly approach?

When documenting software I traditionally write a plain text file (like a README.txt) which works well, but unfortunately cannot contain images like HTML can. Unfortunately images must be stored as ...
6
votes
6answers
696 views

What's a good approach to adding debug code to your application when you want more info about what's going wrong?

When our application doesn't work the way we expect it to (e.g. throws exceptions etc.), I usually insert a lot of debug code at certain points in the application in order to get a better overview of ...
16
votes
5answers
933 views

What version control system can manage all aspects?

A few months ago I dug into Subversion and GIT and was disappointed. They handle SOURCE CODE fine but not other aspects. For example, a web site under version control needs to manage file/directory ...
27
votes
4answers
11k views

What 'stage' means in git source control

I find git hard to understand as I could not find the meaning of used words for the actions, I checked the dictionary for the meaning of stage and none of the meanings was related to source control ...
6
votes
3answers
1k views

How was Git designed?

My workplace recently switched to Git and I've been loving (and hating!) it. I really do love it, and it is extremely powerful. The only part I hate is that sometimes it's too powerful (and maybe a ...
2
votes
1answer
106 views

How to manage IDE project files on a forked repository

I recently forked a Git repository, and locally I created a project in my IDE to compile with. My IDE creates a variety of artifacts that I would like to keep saved somewhere. The obvious place would ...
11
votes
2answers
352 views

Many small scripts, one repository or multiple?

A co-worker and myself have run into an issue that we have multiple opinions on. Currently we have a git repository that we are keeping all of our cronjobs in. There are about 20 crons and they are ...
2
votes
4answers
647 views

Using Mercurial repository inside a Git one: Feasible? Sane?

I am thinking on creating a Mercurial repository under a Git repository. e.g. ..../git-repository/directory/hg-repo/ The 2 repositories Is it possible to manage (keeping your sanity)? How similiar ...
27
votes
6answers
1k views

Which DVCS (git or hg) is easier for programming students?

A bit of context: I'm in 3rd year of college. students are divided into teams of 4. Almost everyone will be working under windows (except a few like me who are on linux). As part of the school ...
1
vote
3answers
553 views

What to do with .git folder and data in Xcode?

I am using Hg for my development. Recently, I upgraded to Lion and Xcode 4.2 and I have created a Xcode project in my source tree. The Xcode by default uses Git and created .git folder in the project ...
3
votes
3answers
171 views

Managing one-off scripts using DVCS

As a research scientist, I divide my code broadly into (1) Cohesive projects and (2) one-off scripts that perform an isolated task. I manage code from category (1) using a DVCS like git or hg in ...
1
vote
2answers
336 views

What can be done to stop losing resources and unify Mercurial and Git? [closed]

Both Mercurial and Git were created as a replacement for the same program and to solve the same problem which you can read about in Martin Beckett's answer to How did Git and Mercurial develop so ...
15
votes
3answers
2k views

Organizing Git repositories with common nested sub-modules

I'm a big fan of Git sub-modules. I like to be able to track a dependency along with its version, so that you can roll-back to a previous version of your project and have the corresponding version of ...
10
votes
8answers
2k views

From TFS to Git

I'm a .NET developer and I've used TFS (team foundation server) as my source control software many times. Good features of TFS are: Good integration with Visual Studio (so I do almost everything ...
15
votes
3answers
886 views

As a sole developer (for now), how should I be using Git?

I have multiple projects on Git that I eventually want to bring others into. However, right now it's just me and I use Git and GitHub very simplistically: no branches and basically just using the ...
11
votes
5answers
850 views

GIT - What gotchas should newcomers to version control be aware of?

I've recently started using GIT for personal projects, it's the first version control system I have used. After submitting a few commits on a project, then branching, then submitting a few commits on ...
8
votes
3answers
1k views

Agile development deployment process. Where do QA and Business Owners test?

I've been reading up a lot lately on various web application deployment processes using SVN or GIT, with a view to redesigning how we currently deploy where I work. As is the way with many flavours ...