Questions tagged [dvcs]

DVCS stands for Distributed Version Control System. Use this tag for questions about DVCSes in general. If your question is about git, or another DVCS that has its own tag already, then use that tag instead of this one.

Distributed revision control system (DRCS), distributed version control or decentralized version control system (DVCS) keeps track of software revisions and allows many developers to work on a given project without necessarily being connected to a common network.

Most popular DVCS:

911 questions
15
votes
3 answers

Benefits of using git branches vs. multiple repositories

We are doing development for automation code. Our code automates the company's products and is synced to a particular product version. Currently, we have 1 big Git repository with multiple branches in it - v1.0, v1.1, v2.0 (automation for version…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
15
votes
1 answer

How can I completely remove/destroy commits from a git repository?

On the surface, this may seem the same as a million similar questions about altering history in git repos, but I believe my case is a bit different and I haven't found a solution that works for me. I have a git repository, and at one point, one of…
user658587
15
votes
5 answers

Moving master head to a branch

I have several feature branches and a master branch. Feature2 is done. Normally I would rebase (working with a remote SVN repo and would like to keep the history, so no regular merge) and ff-merge. But since master hasnt changed since I branched, I…
kostja
  • 60,521
  • 48
  • 179
  • 224
14
votes
7 answers

Is there a distributed VCS that can manage large files?

Is there a distributed version control system (git, bazaar, mercurial, darcs etc.) that can handle files larger than available RAM? I need to be able to commit large binary files (i.e. datasets, source video/images, archives), but I don't need to be…
joelhardi
  • 11,039
  • 3
  • 32
  • 38
14
votes
3 answers

What is a good Mercurial usage pattern for this setup?

We've got two developers on the same closed (ugh, stupid gov) network, Another developer a couple minutes drive down the road, and a fourth developer half-way across the country. E-Mail, ftp, and removal media are all possible methods of transfer…
basszero
  • 29,624
  • 9
  • 57
  • 79
14
votes
1 answer

hg equivalant of git revert

I have a commit on a public repository. I would like this commit to not be there (I've moved that work off to a branch), I obviously don't want to destroy the branch history, basically just do an inverse of that commit. In git this is just git…
Alex Gaynor
  • 14,353
  • 9
  • 63
  • 113
14
votes
4 answers

What files will be changed vs added when I do an hg pull and hg update

So in Subversion when I do an svn up I get a list of files that were added, modified, deleted, and conflicted. When I do an hg pull then hg up -v it just displays a list of: getting file.ext but I have no way of know if that file is new or already…
James
  • 281
  • 3
  • 8
14
votes
3 answers

git: Simple solution for pushing between working copies

What I want to do: On my (ssh remotely accessible) university machine I work on a project which I have put under git source control (git init, then git commit -a after every change, all works fine). Now I want to want to work on that project on my…
Heinzi
  • 167,459
  • 57
  • 363
  • 519
14
votes
2 answers

Seeing what revision goes with a tag in Git

Beginner Git question: In the Mercurial world, hg tags gives me a list of tags and the corresponding revisions, whereas git tag only lists the tag names. How do I see what the matching rev number/hash is?
fakeleft
  • 2,830
  • 2
  • 30
  • 32
14
votes
2 answers

What is the Fork & Pull Model in GitHub?

I have heard this term used for managing a code base in GitHub. What does it mean?
Ryan Kohn
  • 13,079
  • 14
  • 56
  • 81
14
votes
1 answer

Getting mercurial "hg commit" to work with Notepad++

I just replaced notepad with notepad++ using NotepadReplacer and now my hg commit isn't working correctly. Before replacing Notepad, hg commit would launch a new text file for me to enter my commit message into. With Notepad++, I'm prompted to…
Jon Crowell
  • 21,695
  • 14
  • 89
  • 110
14
votes
1 answer

How to completely remove .svn files in Git

I am trying to remove all .svn files and folders for my repo. I am using Git. But I downloaded the source from a server which came with all the nasty .svn files. I don't want to committ these. I have already created a .gitignore file to completely…
Steven Wu
  • 293
  • 1
  • 4
  • 13
13
votes
7 answers

Introduction to Mercurial

I have just begun working on a project which uses Mercurial as a version control system, and I need some basic tips on how to use this. Please use this question to give some introductory tips on this technology. The official Mercurial…
Espen Herseth Halvorsen
  • 6,175
  • 7
  • 36
  • 38
13
votes
4 answers

Migrate Bugzilla Issues to github Issue Tracker

I would like to migrate all my Bugzilla issues to an Issue Tracker at github.com (Example) (you get an issue tracker per repository). 1) Are there tools out there? 2) How did you do it? Thanks for any advices, I will write a summary at the end how I…
basZero
  • 4,129
  • 9
  • 51
  • 89
13
votes
6 answers

How is dvcs (git/mercurial) branching and merging support better than svn's?

Lots of articles on dvcs systems claim superior branching and merging support as one reason to move from svn to dvcs systems. How exactly do these systems do branching and merging differently that makes it better?
Samuel Neff
  • 73,278
  • 17
  • 138
  • 182