To resolve git clone as well as set git config
!!! IMPORTANT !!! use
source
to exec the shell. For example,source ./git-clone.sh
.
-
User info setting with
git config --local
vim ./git-clone.sh
to open the source.- Set the field,
user_name
anduser_email
.Will skip the step set git local config if the above field is empty.
:wq
to save and quit.
-
Support git clone params after
git clone
while typingrepo address
.