Linked Questions

94 votes
6 answers
23k views

I created a branch notmaster to commit as well as push some changes. When I was finished with that branch, I merged the changes back into master, pushed them out, and then deleted the local notmaster. ...
chrisaycock's user avatar
  • 38.1k
53 votes
3 answers
75k views

I have a git repository in my local machine: I add a new branch called test and add a few commits Then I checkout to master branch and add commits to it. So I use git push --all github and continue ...
Masked Man's user avatar
  • 2,618
40 votes
2 answers
11k views

How do I delete a Git remote branch? I work with NetBeans, and I tried to delete a remote branch from IDE, but on the delete branch it deleted only locally.
John's user avatar
  • 846
16 votes
1 answer
9k views

Ok, I've created an origin/origin/master branch and I've pushed it. I'm scared to do some remove operations. What can I do? Is it safe to run a remove operation? This question differs from proposed ...
interlude's user avatar
  • 863
6 votes
3 answers
10k views

Possible Duplicate: How do I delete a Git branch both locally and in Github? First of all, I read how to remove a branch, but for some reason is not working on my project: https://github.com/ralcr/...
Cristi Băluță's user avatar
8 votes
1 answer
6k views

I have removed a branch I have after merging it with the master. However, the locally deleted branch is not deleted on remote repo (on github). On a suggestion in one answer here, I tried git push ...
H.Aziz Kayıhan's user avatar
2 votes
1 answer
3k views

Is there any way to delete the published branch without creating a pull request and merging it into the default branch on the GitHub console. One way I know is to create a pull request and then close ...
Derrick's user avatar
  • 4,569
2 votes
1 answer
4k views

I know the command git push -d <remote> <branch_name> I want to delete remote branch only from my local git env. The command above removes remote branch from my local and remote github ...
Jeong Ho Nam's user avatar
-1 votes
2 answers
2k views

When I do git ls-remote to my remote repository it shows: HEAD refs/heads/BranchA refs/heads/master refs/remotes/origin/BranchA refs/remotes/origin/master How can I delete the last two entries?
Ahmad's user avatar
  • 2,200
5 votes
0 answers
687 views

I have pushed two branches with same name but in different case one is in lowercase and other one is in upper case. I want to delete lowercase branch at remote. How can I do this? E.g.: release-TEST-...
Jitendra's user avatar
  • 1,203
2 votes
3 answers
315 views

This is a basic newbie question about Git and GitHub. I just want to make sure I'm doing it right. I have a local Git as well as a GitHub repo for my project. I have Master and Develop branches , I ...
Sơn Nguyễn's user avatar
-3 votes
1 answer
815 views

I created a sub-branch using git checkout -b mysubbranch command. How do I delete this sub-branch?
eliftozoglu's user avatar
1 vote
1 answer
638 views

For version control, I've been mostly exposed to Mercurial, but want to get better at using Git as well. There's one workflow I'm used to do that doesn't seem to be shown much in the tutorials and ...
Jes Bak Hansen's user avatar
1 vote
1 answer
374 views

I accidentally manage to create a completely detached branch in the beginning of the project, and I would like to completely remove it, both from the local and the server repositories. I am not sure ...
JezuzStardust's user avatar
-1 votes
1 answer
185 views

I usually create feature branches and then raise PR against release branch . I have created multiple branches now and raised PRs . I dont want to see them when I give command git branch . how to ...
Gajukorse's user avatar
  • 187

15 30 50 per page
1
2 3 4 5
13