How to convert git branches to mercurial named branches?
Ive tried to use
--branchmap option from this docs, but it does not helped. I think that it is fundamentally possible to convert Git branches to Mercurials named branches - because we always can say what is the difference between Git repo with a branch and same repo but without that branch.
In the case that a a repository has a number of branches: How does one simply update a file across all the branches. In this case it's a bashrc like file that specifies some environments variables. I
Why is the git command to switch branches named git checkout? Does it really make sense ? I would name it git switch instead. Besides, git checkout has other meanings: e.g. reverting a file (like svn
When I do git log --decorate --oneline --graph --all I would like to see a graph for all the branches but private branches of other developers. Can I tell git log to ignore branches matching a pattern
i am using git-new-workdir script to manage my branches but the branch apparently do not synchronize automatically. I have a repo with three branches (master, branchA and branchB). First i cloned the
I'd like to compare two branches that have diverged significantly. I would also like to limit my comparison to a particular subdirectory where the files where moved in only one of the branches. Exampl
I have many git branches. How do I delete branches which have already been merged? Is there an easy way to delete them all instead of deleting them one by one?
I am currently thinking of a way to nicely structure my web project with mercurial. I was thinking of having two branches default (for development & testing) and release (the finished code which g
I am new to Perforce and find it really hard to follow its workflow.. I have used Mercurial before (not in any advanced ways), but what I lack most in Perforce is the idea of named branches. Let me e
I have a tree that looks like this: --c--c--c--c--c--c--c--c--c1--c2--c3--c4 I want to move the last commits to new branches as follow, --c--c--c--c--c--c--c--c \\\--c1--c2 \\--c3 \--c4 How do I mov
I am new to the mercurial so sorry for the newbie question. I have created a local repository called localRepo at /home/Cassie/localRepo. I have two branches there, default and src1-branch. For defa
I'm in the process of moving from svn to git, and I'm wondering how to manage our local development webservers along with the new git system. Right now, a developer can have multiple checkouts of the
Not sure if this is the best place to ask, but I'm running svn2git to convert an SVN repo to a git repo with branches and tags preserved. For some reason, the branches and tags are not descendents of
I like to keep my feature branches up to date with develop. Is there anything wrong with frequently doing git merge --no-ff develop. And then at the end, running git flow feature finish feature1.
I cloned a repo, which contains about 5 branches. However, when I do git branch I only see one: $ git branch * master I know I can do git branch -a to see all the branches, but how would I pull all t
I am missing some commits that are in my dev branch but not in master. Some commits were merged in, some were not. I can get the difference between the branches by doing something like: git diff maste
When inside a Git repository, is it possible to add tab completion for branches to Powershell? For example: PS> git checkout maTAB would result in PS> git checkout master
I am using Git for development and rather simple workflow. I have two remote branches: testing and staging. I develop feature in a local branch, merge it to testing to deliver feature for testin
I have a set of GIT repositories that I always have different activities on differrent branches and they are all pushed to github the activities are linked to Redmine and would trigger Redmine to pick
Here our situation: We have two branches in our Mercurial repository lets call them Branch A and Branch B. Branch A is for the stable version of the code Branch B is for the development branch Every
i am wondering what happens if you squash between branches and push/pull from remote in between. DEVELOPER 1 1. $ git checkout foo 2. $ git commit -m 'changed file' file.txt $ git commit -m 'changed a
With our Git setup, we have the following permanent branches: - Master |- Fixes-x.x - Release - Develop Develop is where our in development code goes. When we are almost ready for release, it's merg
I have an active branch (Branch A), but a slew of bugs have come forward, each requiring branches of their own (Branches B-D). The strange thing is, I just can't find anything that explains how I keep
I have a local repository cloned from a bare remote repository. The following command lists al the remote repository's branches. $ git ls-remote <remote> 74bd3eb190edb39db04f6c0c4dbbb9e1e96bc6db
I often switch back and forth between branches. I have a script which pushes the contents of the checkout to a 'running' environment where I can see the code run and test it (it's a web app). This pus
So I have two branches on git: develop and release. I have been using the develop branch until now. I just made a commit to the develop branch which I want to be available in the release branch. How d
I am musing about building a big system on top of git for various reasons but mainly convenience. But as part of the implementation I would end up making millions of branches and branching and merging
My project has two branches in the remote server, the master and the release branches. We develop the app on the master branch. When we make a release, we want to copy the code from the master branch
I'm using this awesome library called Gift to do all of my standard git things (pulling, reading commits, etc). However, I can't seem to get the remote branches. I believe the git branch -r command wi
I have a quick question regarding local and remote branches in git. Is it common practice for your local branches to be mirrored on your remote repository? It seems to me as though this would make sen
I have always assumed that the .git/branches directory is for legacy purposes and that git used to use that directory, but now uses the .git/refs directory instead. Is this true? If not, then what is
Recently I switched from SVN to Mercurial. Now I wonder how to realize my intended branching work flow in Mercurial according to good practice, hoping other developers understand what happens in the r
I usually develop new features of my codes in dedicated branches, then merge them to master. The problem with this is that after some time I have a lot of obsolete branches that are cluttering the git
I happen to work against a server repo which has a lot of named branches. I usually pull only the branch I'm currently working on, to keep me local repositories less cluttered. Sometimes, I want to fi
I have two different files in different branches. How can I diff them in one command? Something like # git diff branch1/foo.txt branch2/foo-another.txt I could check out the other file, diff it and r
I have the following git workflow situation that raised the question -- can you rebase back/forth between branches? The local branches (same as on origin): master branch_a (cut from master) branch_b
We're working with git in a master and multiple branches strategy. How many branches? A lot, some quite long living (10 long living team branches and 20-30 short living branches off them is normal
I have a project stored in mercurial which has grown well beyond its original remit, and now I want to split the repository into two separate projects. Say the file tree looks something like this: src
Having two branches, how can I find the latest revision(s) where the two branches were merged. Is there a standard mercurial command to do that? This is the same as question How to find the common anc
Here's the setup: We have a documentation team, who works in their own git repository. In the main product repository we have master and beta branches, beta was branched from master at merge ID 12345.
I decided to delete a few branches from a (personal project) repository of mine that were merged into master after confirming on #git that leftover branches aren't really necessary. However, gitk's vi
I have some problems with Git using cloned repositories and branches and it's somehow not possible for me to find an answer to this. Let me describe: we have a bare master Git repository here we all p
I'm trying to determine the best way to programmatically determine which branches have been recently merged into master. Ideally this script will run off a git hook, parsing the values and then do ext
How can one remove unused git bracnhes from Tortoise-Git? These branches have been removed both locally and remotely, i'd like to not see them anymore when using this dropdown
how can I list newly created(added) files between two branches? I can list all files that have been changed with: git diff --color --name-only branch1..branch2 But that also contains files, that just
I sometimes work with source code repositories containing many branches, most of which are old and usually no longer relevant. In these cases, the full list of branches from git branch is not very hel
How can I show the name of branches in the output of git log? For example with, git log --graph --all I get a nice overview of the commits, but get confused which line is master, and which is my branc
Do I lose my local branches when I uninstall git and install it later again?
Does git support a view where different files come from different branches? Here is my setup -- I have a simple git branch structure with master being used for all development and installs at the clie
In Git I can do this to merge branches: git merge --no-ff release-1.2 How can I do that in Mercurial?
I use the following search expression to find all the heads which aren't closed in our mercurial repository: head() and not closed() and not branch('default') However, I have a convention to name fea