Top "Git-branch" questions

git-branch is the Git command that manages branches.

git pull all branches from remote repository

How do I pull all of the remote branches to my own repository? if I type: git branch -a I …

git version-control git-branch remote-branch
Git: How to list commits on this branch but not from merged branches

Suppose your git commit history looks like this: A---B---C---D---E---F master \ / X---Y---Z topic Is it possible to have git list only …

git branch git-branch git-log
Delete a local development branch

I have recently cloned a repo of our development code branch in my system: git clone https://gitserver.com/product …

git branch git-branch
Git merge branch into master

I have a master branch and a working branch_1. I want to 'move' branch_1 exactly as it is to master. …

git git-branch git-merge
Can I delete all the local branches except the current one?

I want to delete all branches that get listed in the output of ... $ git branch ... but keeping current branch, in …

git git-branch
What is the difference between git push.default=current and push.default=upstream?

The man page for git-config lists these options for push.default: nothing - do not push anything. matching - push …

git git-branch git-push
git branch: gh-pages

I have a repo on GitHub. Recently I have discovered GitHub's pages and I want to use them. I would …

git git-branch github-pages
Rename a Git branch locally and remotely?

Is there a way to rename a Git branch locally and push it to the remote branch, even if there …

git git-branch
Why does git-rebase give me merge conflicts when all I'm doing is squashing commits?

We have a Git repository with over 400 commits, the first couple dozen of which were a lot of trial-and-error. We …

git git-rebase git-merge git-branch git-checkout
Git fatal: cannot lock ref

I'm trying to create a branch on the current branch on my Ubuntu guest. Unfortunately I keep getting this error: …

git git-branch git-checkout