isacikgoz / gitbatch

manage your git repositories in one place
MIT License
1.54k stars 53 forks source link

App shows non-existing (deleted) remote branches #19

Closed utkuufuk closed 5 years ago

utkuufuk commented 5 years ago

Remote Repo

screenshot from 2018-12-03 19-55-21

Gitbatch

screenshot from 2018-12-03 19-57-14

utkuufuk commented 5 years ago

The issue doesn't go away even after git fetch (Git version: 2.17.1)

isacikgoz commented 5 years ago

Can you copy output of git branch -r

utkuufuk commented 5 years ago
origin/HEAD -> origin/master
origin/feature
origin/master
origin/python
isacikgoz commented 5 years ago

You should use git fetch --prune to remove non-existing branches in the remote as documentation says. The question is; should the app add --prune option by default?

utkuufuk commented 5 years ago

I don't think it should. Maybe you can display those remote branches in a different color or put a special character next to them?

isacikgoz commented 5 years ago

see aa6f0cf9a44f502fe41aecf9ed3f5ddbb8e20a71