What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-05 05:40:21
git remove untracked branches
# this is powershell script for Windows execution git checkout master; git remote update origin --prune; git branch -vv | Select-String -Pattern ": gone]" | % { $_.toString().Trim().Split(" ")[0]} | % {git branch -d $_} Add solution -
-
Shell/Bash 2021-10-04 03:10:04
git command to refresh remote branches
git remote update origin --prune Add solution -
Shell/Bash 2021-08-28 04:45:02
refresh branch list git
git remote update origin --prune Add solution -
Shell/Bash 2021-08-27 00:54:01
how to update remote branches list git
git remote update origin --prune Add solution
Best helpers
Gabi Purcaru
+5
L. Samson
+5
Yoyo
+5
Skry
+5
Colocvial
+5
Sarah witte
+5
Leosar
+5
Tobiak777
+5
Tjd
+5