git‐all - yktoo/yktools GitHub Wiki

Traverses all your Git repositories, recursively, and runs the same git command against them.

Running git-all <command> <args...> will search Git repositories (i.e. directories having .git subdirectory right under them), starting from the current directory. It ignores all directories whose name starts with an underscore (_) and everything below them, which is useful for skipping updates to things you don’t manage, like sources you’ve temporarily checked out, or projects specific to some environment.

Synopsis

git-all command [arg1 [arg2...]]

Where:

  • command Command to pass to git
  • arg1...argN Any additional arguments to be passed to git

Usage examples

# Show status of all repositories
git-all status

# Show short status
git-all status -s

# Pull from all default remotes
git-all pull

# Prune all orphaned remote branches
git-all remote prune origin

# Rename all remotes
git-all remote rename origin github

See also

⚠️ **GitHub.com Fallback** ⚠️