Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yantonov/gw-aliases
https://github.com/yantonov/gw-aliases
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yantonov/gw-aliases
- Owner: yantonov
- Created: 2020-11-24T08:31:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-14T13:42:43.000Z (9 months ago)
- Last Synced: 2024-02-14T14:43:23.142Z (9 months ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Aliases for [gw](https://github.com/gdubw/gng) tool.
Mainly it's for [Criteo](https://github.com/criteo) build system to simplify cross repo reviews.Usage:
1. Define the environment variable GW_HOME which points to the directory which contains gw tool.
(it is needed to use wrapper command which is available only for gng script)
2. Add this repository to PATH.
3. Build [alias](https://github.com/yantonov/alias) artifact (or use the available distribution),
name it as gw and place into this repository
(binary 'gw' file has already ignored inside this repository, it is needed to invoke gw commands).After that, for example, you can use execute git commands across multiple repository like this:
(assumed that the corresponding plugin is being used)```
gw git branch
```
It is much simpler than, for example:
```
gw exec --threads=1 --cmd='git branch'
```For the git commands number of threads is equal to one, just to synchronize output for multiple repositories.
Also, you can add your custom commands, see [documentation](https://github.com/yantonov/alias#about-overriding-configuration) for the alias tool.