mirror of
https://github.com/flynx/git-utils.git
synced 2025-10-28 10:40:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
433faa03ab
commit
a7ce6f1c88
10
README.md
10
README.md
@ -12,7 +12,7 @@ Provided commands:
|
|||||||
Pull changes for all repositories in tree
|
Pull changes for all repositories in tree
|
||||||
|
|
||||||
|
|
||||||
These enable setting up and maintaining mutiple development machines with
|
These enable setting up and maintaining multiple development machines with
|
||||||
a number of git repositories.
|
a number of git repositories.
|
||||||
|
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ In a tree with multiple git repositories:
|
|||||||
```shell
|
```shell
|
||||||
$ git pullall -r
|
$ git pullall -r
|
||||||
```
|
```
|
||||||
- to create the same env on a different computer:
|
- to create the same environment on a different computer:
|
||||||
```shell
|
```shell
|
||||||
$ git listall -r > repos.lst
|
$ git listall -r > repos.lst
|
||||||
```
|
```
|
||||||
@ -31,6 +31,8 @@ In a tree with multiple git repositories:
|
|||||||
```shell
|
```shell
|
||||||
$ git cloneall repos.lst
|
$ git cloneall repos.lst
|
||||||
```
|
```
|
||||||
|
Note that `git cloneall` will only clone repos that are not already
|
||||||
|
cloned, thus it is safe to call on an existing tree.
|
||||||
- to update the repository list with new repos:
|
- to update the repository list with new repos:
|
||||||
```shell
|
```shell
|
||||||
$ git listall -r repos.lst >> repos.lst
|
$ git listall -r repos.lst >> repos.lst
|
||||||
@ -38,8 +40,8 @@ In a tree with multiple git repositories:
|
|||||||
|
|
||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
- It is convenient to manage `repos.lst` as symlinks to a unified directory and
|
- It is convenient to manage `repos.lst` as a symlink to a unified directory and
|
||||||
syncronize it between machines via someting like [syncthing](https://syncthing.net/)
|
synchronize it between machines via something like [Syncthing](https://syncthing.net/)
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user