Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » EGit still shows remote tracking branch after delete (GUI doesn't update properly)
EGit still shows remote tracking branch after delete [message #1859530] Tue, 13 June 2023 14:31 Go to next message
Eclipse UserFriend
"A" in the image shows the repo has 2 branches, both with Remote Tracking. "B" shows I deleted the "test-01" branch from GitHub (remote).

"C" shows the problem. After doing "Fetch from origin", the "test-01" branch still shows in Remote Tracking. To force the GUI to update, I delete that remote tracking branch. Doing another "Fetch from origin" confirms that branch was deleted. Shouldn't the GUI have automatically removed that branch from Remote Tracking the first time I did Fetch from origin" after it was deleted from GitHub? Why should I have to manually delete a branch in EGit that no longer exists on the remote?

The EGit version is 6.5.0.2023
index.php/fa/43255/0/
Re: EGit still shows remote tracking branch after delete [message #1859567 is a reply to message #1859530] Thu, 15 June 2023 17:35 Go to previous messageGo to next message
Eclipse UserFriend
Set git config fetch.prune.
Re: EGit still shows remote tracking branch after delete [message #1859581 is a reply to message #1859567] Fri, 16 June 2023 13:14 Go to previous message
Eclipse UserFriend
Per your suggestion, I was able to configure EGit to prune missing remote tracking branches. The first method (which I prefer) shown in Fig 1 applies to all repos. Fig 2 only applies to the specified repo. I'm very impressed with EGit. I couldn't use Git without it.
index.php/fa/43260/0/
Previous Topic:Future expectations for https://git.eclipse.org/c/egit/egit-github.git/
Next Topic:EGit Compare Viewer
Goto Forum:
  


Current Time: Tue May 13 23:07:26 EDT 2025

Powered by FUDForum. Page generated in 0.05535 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top