Top "Git-branch" questions

git-branch is the Git command that manages branches.

How to 'git pull' into a branch that is not the current one?

When you run git pull on the master branch, it typically pulls from origin/master. I am in a different …

git branch git-branch
Having a private branch of a public repo on GitHub?

I have a public PHP project in a GitHub repo, which contains just one branch (master). I want to have …

github git-branch fork
git push local branch with same name as remote tag

I'm trying to push a new local branch product-0.2 to remote where there is already a tag with the same …

git git-branch
How to checkout a remote branch in Git?

Someone pushed a "new feature" branch to the shared repo: git push -u new_feature_branch Now, I would like …

git git-branch git-checkout
Git pulling a branch from another repository?

I have a local git repository which is a clone of a repository on github. Someone has forked the repository …

git github git-branch
When to delete branches in Git?

Suppose we have an application that's stable. Tomorrow, someone reports a big ol' bug that we decide to hotfix right …

git github version-control git-branch git-gui
How do I fetch a branch on someone else's fork on GitHub?

I've forked from a repo on GitHub. I want to get the code from a branch on another user's fork. …

git github git-branch git-fork git-fetch
How to restrict access to master branch on git

I have a single repo in which I have 2 user groups: Admins HTML/UI Developers I do not wish to …

git gitlab bitbucket git-branch
how to close a branch in git

When I know I won't use a branch any more is it possible to close or lock it? Actually I …

git git-branch git-tag git-archive
What is the difference between "git branch" and "git checkout -b"?

I used git checkout -b to create a new branch. I think that git branch does the same thing. How …

git git-branch git-checkout