Skip to content

simonwalz/script-git-find-repos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-find-repos

A script to list status of all repositories located in subdirectories.

Usage: git-find-repos

git find-repos [ADDIONAL_GIT_STATUS_OPTS]
git-find-repos [ADDIONAL_GIT_STATUS_OPTS]
Options
Option Description
Addional git-status options (optional) See git-status Dokumentation
-u[UNTRACKED_FILES_MODE] (optional) E.g. untracked files mode:
no - Show no untracked files (default)
normal - Shows untracked files and directories
all - Also shows individual files in untracked directories.
Example
git find-repos -uall

List all untracked files in all repositories.

Hint

The command can be used with git2. Just run the following command to find all git2 based repositories:

git2 find-repos [ADDIONAL_GIT_STATUS_OPTS]

Usage: git-extended-status (helper)

The script git-find-repos uses a helper script to display the status of a repository. This script can be used individually.

git extended-status [ADDIONAL_GIT_STATUS_OPTS]
git-extended-status [ADDIONAL_GIT_STATUS_OPTS]

Options: see Usage: git-find-repos

Changed default untracked files mode to: Show no untracked files.

Speed up git-find-repos

git-find-repos fetches from remote repositories. See this article on how to speed up git ssh connections. I added the following files to my .ssh/config file:

Host github.com
        User git
        ControlMaster auto
        ControlPath ~/.ssh/s/m-%r@%h:%p
        ControlPersist 120s

Host gitlab.*
        ControlMaster auto
        ControlPath ~/.ssh/s/m-%r@%h:%p
        ControlPersist 120s

About

A script to list status of all repositories located in subdirectories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages