Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git pull if exist and clone

if cd repo; then git pull; else git clone https://server/repo repo; fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #pull #exist #clone
ADD COMMENT
Topic
Name
3+8 =