Skip to content
 
 

Repository files navigation

github:/stealify/git-subrepo

use it like that

npx github:/stealify/git-subrepo

Bash Script

dirname $(which git)

#!/bin/bash
npx github:/stealify/git-subrepo "$@"

Install

install it in the same dir as your git command. the << \EoF > is a so called HereDoc in bash google it if you are not aware of that. the slash tells bash to not interpret the variables before writing the file.

install.sh

#!/bin/bash

cat << \EoF > $(dirname $(which git))/git-subrepo
#!/bin/bash
npx github:/stealify/git-subrepo "$@"
EoF

chmod +x $(dirname $(which git))/git-subrepo

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages