tagged [git-branch]
Remove tracking branches no longer on remote
Remove tracking branches no longer on remote Is there a simple way to delete all tracking branches whose remote equivalent no longer exists? Example: Branches (local and remote) - - - - - Locally, I o...
- Modified
- 13 Aug at 13:38
How can I diff two branches in GitHub?
How can I diff two branches in GitHub? I am just wondering if there is a way to simply diff two branches in GitHub? I know GitHub has capacity to do it because when we do code-reviews it does list out...
- Modified
- 21 Apr at 21:26
Your configuration specifies to merge with the <branch name> from the remote, but no such ref was fetched.?
Your configuration specifies to merge with the from the remote, but no such ref was fetched.? I am getting this error for pull: > Your configuration specifies to merge with the ref 'refs/heads/featur...
- Modified
- 2 May at 14:3
Change a Git remote HEAD to point to something besides master
Change a Git remote HEAD to point to something besides master How do I set a Git remote's HEAD reference to point to something besides "master"? My project has a policy not to use a "master" branch (a...
- Modified
- 3 Feb at 00:57
Git "error: The branch 'x' is not fully merged"
Git "error: The branch 'x' is not fully merged" Here are the commands I used from the master branch Then I made some changes to my files, committed the changes, and pushed the new branch to GitHub. La...
- Modified
- 21 Aug at 18:53
How to pull remote branch from somebody else's repo
How to pull remote branch from somebody else's repo I've got a project hosted on GitHub which somebody has forked. On their fork, they've created a new branch "foo" and made some changes. How do I pul...
- Modified
- 5 Feb at 09:10
Rename master branch for both local and remote Git repositories
Rename master branch for both local and remote Git repositories I have the branch `master` which tracks the remote branch `origin/master`. I want to rename them to `master-old` both locally and on the...
- Modified
- 17 Apr at 18:24
How to create the branch from specific commit in different branch
How to create the branch from specific commit in different branch I have made several commits in the master branch and then merged them to dev branch. I want to create a branch from a specific commit ...
- Modified
- 25 Jan at 00:1
How to get the changes on a branch in Git
How to get the changes on a branch in Git What is the best way to get a log of commits on a branch since the time it was branched from the current branch? My solution so far is: The documentation for ...
Cleaning up old remote git branches
Cleaning up old remote git branches I work from two different computers (A and B) and store a common git remote in the dropbox directory. Let's say I have two branches, master and devel. Both are trac...
- Modified
- 14 Apr at 11:32
How can I get a list of Git branches, ordered by most recent commit?
How can I get a list of Git branches, ordered by most recent commit? I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch i...
- Modified
- 10 Dec at 19:42
fetch in git doesn't get all branches
fetch in git doesn't get all branches I have cloned a repository, after which somebody else has created a new branch, which I'd like to start working on. I read the manual, and it seems dead straight ...
- Modified
- 11 Jan at 15:12
Git merge hotfix branch into feature branch
Git merge hotfix branch into feature branch Let’s say we have the following situation in Git: 1. A created repository: mkdir GitTest2 cd GitTest2 git init 2. Some modifications in the master take plac...
- Modified
- 15 Apr at 07:41
How do I manage conflicts with git submodules?
How do I manage conflicts with git submodules? I have a git superproject that references several submodules and I am trying to lock down a workflow for the rest of the my project members to work withi...
- Modified
- 10 Sep at 10:45
How to keep a branch synchronized/updated with master?
How to keep a branch synchronized/updated with master? At the moment git is doing my head in, I cannot come up with the best solution for the following. There are two branches, one called and one call...
- Modified
- 9 Apr at 00:28