DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

Collapse
 
kspeakman profile image
Kasey Speakman

Updating the list of git remote branches. It doesn't refresh when you sync so it will continue to list remote branches that don't even exist anymore until you manually run the command below. (Which I had to google again to put in this comment.)

git remote update origin --prune

Collapse
 
havryliuk profile image
Oleksandr

easy to remember because it is like dried fruit!

Collapse
 
shelbyspees profile image
shelby spees (she/her)

Git, brew, and bundler all have some kind of prune flag so it's starting to stick for me.