Skip to main content
added 181 characters in body
Source Link
Engineero
  • 13k
  • 5
  • 56
  • 79

First, what is the result of git branch -a on machine B?

Second, you have already deleted heads/devel on origin, so that's why you can't delete it from machine B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

and feel free to add --dry-run to the end of your git statement to see the result of running it without actually running it.

Docs for git remote prune and git branch.

First, what is the result of git branch -a on machine B?

Second, you have already deleted heads/devel on origin, so that's why you can't delete it from machine B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

and feel free to add --dry-run to the end of your git statement to see the result of running it without actually running it.

First, what is the result of git branch -a on machine B?

Second, you have already deleted heads/devel on origin, so that's why you can't delete it from machine B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

and feel free to add --dry-run to the end of your git statement to see the result of running it without actually running it.

Docs for git remote prune and git branch.

Add note of dry-run option.
Source Link
5260452
  • 11.7k
  • 8
  • 58
  • 65

First, what is the result of git branch -a on machine B?
Second

Second, you have already deleted 'heads/devel'heads/devel on 'origin'origin, so that's why you can't delete it from machine B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

and feel free to add --dry-run to the end of your git statement to see the result of running it without actually running it.

First, what is the result of git branch -a on machine B?
Second, you have already deleted 'heads/devel' on 'origin', so that's why you can't delete it from B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

First, what is the result of git branch -a on machine B?

Second, you have already deleted heads/devel on origin, so that's why you can't delete it from machine B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

and feel free to add --dry-run to the end of your git statement to see the result of running it without actually running it.

added 38 characters in body
Source Link
AL the X
  • 1.1k
  • 11
  • 15

First, what is the result of git branch -a on machine B?
Second, you have already deleted 'heads/devel' on 'origin', so that's why you can't delete it from B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 

First, what is the result of git branch -a on machine B?
Second, you have already deleted 'heads/devel' on 'origin', so that's why you can't delete it from B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

First, what is the result of git branch -a on machine B?
Second, you have already deleted 'heads/devel' on 'origin', so that's why you can't delete it from B.

Try

git branch -r -d origin/devel 

or

git remote prune origin 

or

git fetch origin --prune 
Post Made Community Wiki
Source Link
Jakub Narębski
  • 327.4k
  • 67
  • 229
  • 234
Loading