Skip to content

hsheimbuch/git-custom-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Custom Commands

My collection of useful custom git commands.

Setup

  1. Pull the repo.
  2. Make sure the commands files are executable.
  3. Add pulled repo dirpath to the $PATH.

Overview

git-sync-all

Syncs up all local branches of a Git repo to track the remote counterparts and pull the latest changes.

Usage

  1. Navigate into the Git repository.
  2. git sync-all

git-dir-sync-all

Syncs up all local branches of all Git repos within the parent directory to track the remote counterparts and pull the latest changes.

Usage

  1. Navigate into the directory, containing multiple Git repositories. Only first-level git repos will be affected. The script will still run successfully even if not only Git repositories exist in the directory.
  2. git dir-sync-all

About

My collection of custom git commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages