~michel-slm/myrepos-utils

Additional utilities for myrepos
08be458a — Michel Lind 7 months ago
config: fix passing extra git configs
b6119539 — Michel Lind 7 months ago
Bump to ship README.md
8734d846 — Michel Lind 7 months ago
Update README.md

clone

read-only
https://git.sr.ht/~michel-slm/myrepos-utils
read/write
git@git.sr.ht:~michel-slm/myrepos-utils

You can also use your local clone with git send-email.

#myrepos-utils

#Usage

#config

Configures a new repository, checks it out by default, and configures additional git remotes and git configurations as specified

For example:

$ mr-utils config centos/hyperscale/emacs "git clone -b c9s-sig-hyperscale https://git.centos.org/rpms/emacs.git" --extra-git-remotes fedora https://src.fedoraproject.org/rpms/emacs.git --git-configs user.email salimma@centosproject.org

#find

Let's say you have the following repositories configured in ~/.mrconfig:

[src/github/owner1/projA]
...

[src/github/owner2/projB]
...

This will let you quickly switch to ~/src/github/owner1/projA:

cd (mr-utils find github projA)

If there are multiple matches, they will be printed out.

#sort

This will sort ~/.mrconfig based on sections and write it back out

mr-utils sort

#version

Displays the version of the current myrepos-utils