How to compare local branch with remote branch in Mercurial
Can someone show me how to compare a local branch with remote branch to see the all the differences or new changesets added?
I only want to see what's new like
hg incoming or
hg outgoing. I don't want to compare individual files.
It would be something like this
hg incoming --branches Branch:Branch so the first one is the local branch and second is the remote branch, something like that.
I would like to check which of my local branch are closed on remote server and remove them from my local list - is there such git (or any other e.g.bash) command? My current flow: git branch to list
I want to track a remote master branch from a new remote repository. Both do already exist. How do I go about this in git? I can't seem to get it right. I tried: git remote add otherRepo git://... gi
I have two local branches A and B tracking the same remote branch C. I want to keep all the branches but I want to remove connection A -> C but keep the connection B -> C. how can i do that?
I mistyped a git command which resulted in the creation of a local branch called, '--track'. I've tried the following: git branch -m --track delme (this renames the current branch to delme, not the br
This question already has an answer here: Force Git to overwrite local files on pull 25 answers I want to sync the local branch with the remote git branch. I tried to do git pull but it fails w
I messed my local branch of a project, and i want to revert my local copy to the remote state. How i acomplish that simply goal?
I'm trying to push a new local branch product-0.2 to remote where there is already a tag with the same name (but the branch itself does not exist) git push -v --tags --set-upstream origin product-0.2:
I cloned a repository and got a master branch. From the master I created a local branch abc. Now the remote may have progressed. The branches look like this: >git branch -a * abc master remotes/o
I've been working on a project and things got sloppy. I've reset to a stable commit, but when I try to push I'm told the current branch is behind its remote counterpart (obviously). The only option
How can I restore an Orphan remote branch that was deleted remotely & no has it anymore?
My colleague and I have recently implemented git, and have just tried to implement rebasing. So, we have a remote master branch, cloned locally, and I have a local (and remote) branch called changes.
I have two branches, master and mybranch in a git repository. In a local folder cloned from the git repository before adding the second branch, I can only see the first branch, as expected: xxx$ git b
I am using mercurial with named branches, and notice that when I create a new branch of default, default is marked as an inactive branch. Eg: C:\data\solutions\test-repo>hg branches default 0:aeec2
When I want to delete a branch locally on git and propagate this to the GitHub repo, I use this 2-step method: ~$ git branch -d [branch_name] ~$ git push origin :[branch_name] Is there any command to
My coworker accidentally made two commits in the default branch instead of creating new his own development branch. How can I change this situation and moves these two commits to a new branch?
We have a repository with three named branches, I wanted to clone one of the branches. Is there a mercurial command to do that? If I provide the path (of branch) with hg clone I get 404 error.
Is there any way to reset a remote branch pointer to a SHA that you know is in the remote reflog, but that you don't have in your local repo? I'm very familiar with how reset (soft/mixed/hard) works o
I understand that it is possible to close a named branch in Mercurial, so that it will not appear in the hg branches list: hg commit --close-branch -m 'close badbranch, this approach never worked' Is
I am trying to do something very simple: create a new branch. But I messed up. Where did I make the mistake, and how do I fix it? I am the only user of Mercurial. I had revision 54 committed and pushe
I'm not sure why this is so hard to figure out or google, but I am trying to take changes I made to a private branch and push them to the default branch. In other words: I pulled from the default bra
I have a local develop branch dev and a remote master branch. For the dev branch, I have a quite complicated commit history(nearly 20 successive commits). I tried to use git rebase -i origin/m
We're using GitHub here. I have a friend who branched our master branch, and I want to checkout his branch, make a few mods, then put them into his branch. My thought is to grab his branch using git c
I created a local branch by using git checkout -b mybranch Then I made certain changes to it and pushed to remote with git push origin mybranch However, I cannot see my local changes in the remote
I am a GIT user who is trying to deploy a Mercurial branching system. The aproach will be simple: Master branch with the current status of production. Release branches with the next set of changes in
I have completely fubar'd my local branch, and would like to start over. The version on the server is correct. I don't want to start over, I would like to use my local history to fix my huge screwup.
I have a fairly old topic branch, and have rebased it onto master. Since there were quite a few conflicts during the rebase, I'd like to compare the old topic branch with the rebased one, to make sure
I am using EGit 3.2 with Eclipse. I cannot figure out how to delete a branch from my remote repository. I'm working on a Drupal project and the mods there want me to delete the master branch. I have t
I have 2 local git archives in /a and in /b which were cloned from remotes/origin. There is a new branch z on /b How can I track and fetch branch z from archive /a ? I tried this: cd /a git remote add
I want to check a local branch currently tracking which remote branch For example: git checkout -b test_branch git branch --set-upstream test_branch origin/remote_project001 But after a few days, I
I was originally on my master branch. Then, I created a new branch: git branch my-other-branch Then, after I made some changes on my project, I pushed this branch to origin to make it a remote branch
Is it possible to create a non-visible branch in git or mercurial I can use as backup? Eg at the end of the day I have unfinished work (may even be left with syntax errors) but I want it to be backed
Mercurial - What are the steps involved to accomplish the rename of a branch after it has been created and committed to (both locally and in the central repo). For example, I've created a branch calle
Is it possible, that a remote branch can have multiple local tracking branches? Or would that confuse the push/pull commands?
Very simple question, but can't find the answer by Googling. How do I check out a particular named branch of a Mercurial repo?
I used to work with CVS where it was no problem to compare HEAD to any branch, branch to branch or branch to HEAD. Now on SVN I have some changes on trunk I need to put on a branch, but can't seem to
I am working on a local branch, and a team member has made made some changes to that branch. How do I pull/fetch their changes, to my local branch? I do not want to pull the entire repo, just this b
how to discard git local branch changes? eg, local branch with version: A->B->C Now I am on version A, and it has some changes conflict with latest version C. I want to discard local changes and
After splitting my project in 2 branches, I have the following situation : Remote branch origin/master targets my local departements branch . I would like this branch to target my local master
A colleague has a stash in their repository which I can access (via the filesystem), and I'd like to pull that stash into a branch in my repository. % git ls-remote ~alice/work/repo/ stash 3ccc82fb1e
I have two repositories origin and fork. I cloned origin locally and added fork as a remote repository. I now created a new local branch, e.g.: git checkout master git branch new git checkout new I m
I'm trying to push to heroku, but I recently dropped back a few commits as the production and local code were both flawed. Now I'm getting the error: Updates were rejected because the tip of your curr
I have a local topic branch that's tracking a remote branch. For the sake of argument, say the commit histories look like this: A--B--C--O1--O2--O3 (origin/phobos) \ L1--L2--L3 (phobos) Having looked
I have a Mercurial repository with four branches in it. One is the common branch, the other three are specific branches which consist of some cosmetic changes applied to the common branch. One of
How can I get list of files that were affected by specific user in the specified branch? Regards, Evgeniy
I wonder whether there is a mercurial command/extension that just tests whether a given changeset is in a branch. The command would be something like: hg contains [-r branch] changeset_id and should
I have three branches on remote (master, development, featurebranch). What I wanted is that when I push branch1, it should try and push it to the development branch, or any kind of branches I prefer.
OK so I'm tracking a remote repo on two machines so both have the master branch. I also made a local branch on my laptop called development. Is there a way for me to copy that local branch over to my
What is the all-in-one (or at least easier) way to accomplish this? Basically I want to create a branch but have it tracked so I can push changes, as a backup, to a central repo. git branch BranchName
I have a number of changes that I committed to my local repository, but have not yet been pushed. Since on a feature is taking longer than expected, I want to swap these changes onto a named branch be