mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 10:35:54 +02:00
git-bulk: add examples (#9077)
This commit is contained in:
parent
8bbd169b1a
commit
59e59ea818
1 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
||||||
> Part of `git-extras`.
|
> Part of `git-extras`.
|
||||||
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-bulk>.
|
> 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:
|
- Register a workspace for bulk operations:
|
||||||
|
|
||||||
`git bulk --addworkspace {{workspace_name}} {{/absolute/path/to/repository}}`
|
`git bulk --addworkspace {{workspace_name}} {{/absolute/path/to/repository}}`
|
||||||
|
@ -23,3 +27,11 @@
|
||||||
- Run a Git command on the repositories of the current workspace:
|
- Run a Git command on the repositories of the current workspace:
|
||||||
|
|
||||||
`git bulk {{command}} {{command_arguments}}`
|
`git bulk {{command}} {{command_arguments}}`
|
||||||
|
|
||||||
|
- Remove a specific workspace:
|
||||||
|
|
||||||
|
`git bulk --removeworkspace {{workspace_name}}`
|
||||||
|
|
||||||
|
- Remove all workspaces:
|
||||||
|
|
||||||
|
`git bulk --purge`
|
||||||
|
|
Loading…
Add table
Reference in a new issue