Dismiss
Announcing Developer Story

You’re more than your resume. Show off what you’ve built.

Check out Developer Story →
21
votes
2answers
10k views

How to delete git remote branch from NetBeans IDE? [duplicate]

Help me to delete git remote branch. I work with netbeans and I tried to delete remote branch from IDE but on delete branch deleted only localy.
1
vote
3answers
4k views

delete a github branch [duplicate]

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/...
4
votes
1answer
2k views

How to delete “origin/origin/master” [duplicate]

Ok, I've created an origin/origin/master branch and I've pushed it. I'm scared to do some remove operations. Whan can I do? Is it safe to run a remove operation?
0
votes
1answer
287 views

Locally deleted branch is not deleted on remote repository [duplicate]

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 ...
-2
votes
2answers
360 views

Remove refs/remotes entirely [duplicate]

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?
0
votes
1answer
73 views

How do I strip branches from a git repository? [duplicate]

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 ...
2
votes
0answers
64 views

How to delete a remote duplicate lowercase branch in git [duplicate]

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-...
574
votes
10answers
194k views

How do you remove an invalid remote branch reference from Git?

In my current repo I have the following output: $ git branch -a * master remotes/origin/master remotes/public/master I want to delete remotes/public/master from the branch list: $ git branch -d ...
449
votes
4answers
181k views

How to use git merge --squash?

I have setup where we have a remote Git server, Here is the scenario which I want to perform, For each bug/feature I create a different Git branch, I keep on committing my code in that Git branch ...
288
votes
8answers
98k views

How do you stop tracking a remote branch in Git?

How do you stop tracking a remote branch in Git? I am asking to stop tracking because in my concrete case, I want to delete the local branch, but not the remote one. Deleting the local one and ...
264
votes
5answers
44k views

git remote branch deleted but still appears in 'branch -a'

Lets' say I had a branch named coolbranch in my repository. Now, I decided to delete it (both remotely and locally) with: git push origin :coolbranch git branch -D coolbranch Great! Now the branch ...
113
votes
9answers
36k views

Delete local Git branches after deleting them on the remote repo

I want to have my local and remote repositories always in sync in terms of branches. After a Pull Request review on GitHub, I merge and remove my branch there (remote). How could I fetch this ...
135
votes
2answers
39k views

How do I delete a Git branch with TortoiseGit

Is there an option to delete a branch with TortoiseGit? I found a solution for the commandline. Is there an implementation in TortoiseGit?
82
votes
3answers
83k views

Read input from console in Ruby?

I want to write a simple A+B program in ruby, but I have no idea how to work with the console.
55
votes
2answers
18k views

How to delete a branch in the remote repository using EGIT?

How to delete the remote branch itself in sourceforge with all files in it, using egit ?

15 30 50 per page