Documentation for gut
GiellaLT contains over 500 repositories. If you want to check out many (or all) of them, you may need a program to handle git operations over several repositories at the same time. For this we have made a tool called gut.
Download and install gut as instructed here.
Thereafter you need to configure gut:
gut init -r $HOME/langtech -o giellalt -u -t <YOUR-GITHUB-TOKEN>
where:
-r $HOME/langtechspecifies the root folder forgut- within it there will be one folder pr GibHub organisation (giellaltfor https://github.com/giellalt), and within that folder all repositories from that organisation will reside;-o giellaltspecifies the default GitHub organisation, so you don’t have to do it for everygutcommand-uspecifies that you want to usehttpsinstead ofsshfor every interaction with GitHub (if that is what you want)-t <YOUR-GITHUB-TOKEN>tellsgutyour GitHub access credentials - make sure you create a GitHub Personal Access Token with the proper rights. Replace<YOUR-GITHUB-TOKEN>with the actual token.
In order to use gut, have a look at the gut usage page.
The core functionality is a limited set of git commands, with the addition of a --regex option. Use the regex to write a pattern to match against repository names. Repository names matching the regex are the ones on which the git command will be applied.
Commonly used commands are:
- clone
- pull
- push
- commit (with implicit add, so be careful)
There are many more commands, see the help text for more info.