git_template 362 字节
Newer Older
ziix's avatar
ziix 已提交
1
#!/bin/sh
ziix's avatar
ziix 已提交
2

P
修改  
prgrmz01@163.com 已提交
3 4
export PYTHONPATH=/pubx/git-replace/
new_args=python /pubx/git-replace/replace_url.py "$*"
ziix's avatar
ziix 已提交
5 6 7 8 9

# $* : -c advice.detachedHead=false clone --depth 1 --branch main https://github.com/frida/glib.git glib
# new_args : -c advice.detachedHead=false clone --depth 1 --branch main git@gitcode.net/dependency/frida/glib.git glib


P
修改  
prgrmz01@163.com 已提交
10
/usr/bin/git.original  $new_args