git-bulk: add examples (#9077)

pull/1/head
KMohZaid 2022-10-19 10:50:21 +05:30 committed by GitHub
parent 8bbd169b1a
commit 59e59ea818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,10 @@
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-bulk>.
- Register the current directory as a workspace:
`git bulk --addcurrent {{workspace_name}}`
- Register a workspace for bulk operations:
`git bulk --addworkspace {{workspace_name}} {{/absolute/path/to/repository}}`
@ -23,3 +27,11 @@
- Run a Git command on the repositories of the current workspace:
`git bulk {{command}} {{command_arguments}}`
- Remove a specific workspace:
`git bulk --removeworkspace {{workspace_name}}`
- Remove all workspaces:
`git bulk --purge`