Skip to content

Instantly share code, notes, and snippets.

View gullradriel's full-sized avatar
💭
Coding !

gullradriel gullradriel

💭
Coding !
View GitHub Profile
@gullradriel
gullradriel / git_pull_all.md
Created February 25, 2026 09:19
git "pull all" function

git_pull_all — Bash Function Documentation

Pull and prune all local Git branches in one command.


What it does

git_pull_all iterates over every local branch in the current Git repository, checks each one out, runs git pull --prune, and returns to the branch you were on when you called it.