Top "Git-branch" questions

git-branch is the Git command that manages branches.

How to determine when a Git branch was created?

Is there a way to determine when a Git branch was created? I have a branch in my repo and …

git branch git-branch
Switch to another branch without changing the workspace files

I cloned a git repository from GitHub, made some changes and some commits; I made quite a lot and all …

git branch git-branch
Delete branches in Bitbucket

I've created lots of branches in one of our repositories. Those branches are for testing before it will be pulled …

git bitbucket git-branch
How is a tag different from a branch in Git? Which should I use, here?

I am having some difficulty understanding how to use tags versus branches in git. I just moved the current version …

git version-control branch git-branch git-tag
Using Git, show all commits that are in one branch, but not the other(s)

I have an old branch, which I would like to delete. However, before doing so, I want to check that …

git branch git-branch
Creating a new empty branch for a new project

We are using a git repository to store our project. We have our branches departing from the original branch. But …

git branch git-branch
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 …

git git-branch git-remote
How to push a single file in a subdirectory to Github (not master)

I have changed a single file in a subdirectory of my repository and I want to push just that file …

git github git-branch git-push
How do I merge changes to a single file, rather than merging commits?

I have two branches (A and B) and I want to merge a single file from branch A with a …

git merge git-branch
Change a branch name in a Git repo

How do I rename an existing branch in a Git repo? I want the current branch to have a new …

git git-branch