The module allows managing multiple repositories at the same time. I am using it as a backup tool.
Every day I am scanning my repositories and check if any of them has some uncommitted changes. If yes, changes are pushed. If changes weren’t staged, a new AutoCommitBranch branch is created and data is pushed there.
The module also allows me to update all repositories from the given directory.
Check out the detailed description of the commands below.
Performs git pull for a given directory. Following command will
- check if the directory is the git repository
- perform a git pull
- show message.
Iterates through the list of directories under the directory provided and invokes git pull for each repository.
It pushes changes to the Git repository. If the current branch is ahead of the remote, it will push it, if changes are not committed it will create AutoCommit branch and push all changes to it.
It iterates through given directory and for each directory inside it will invoke Push-GitRepository cmdlet.
It will open GitHub directory and for each directory inside it will invoke Push-GitRepository
Checks if git repository contains AutoCommitBranch branch.
Iterates through all git repositories inside a provided directory and invoke Get-AutoCommitRepository for each.
Checks if the given repository has something to be committed.
Iterates through all git repositories inside provided directory and invoke Get-GitRepositoryStatus for each.