autoclone
This commit is contained in:
		
							
								
								
									
										4
									
								
								autoinit
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								autoinit
									
									
									
									
									
								
							@@ -68,5 +68,9 @@ else
 | 
			
		||||
		 $GOGS_ROOT_URL/api/v1/repos/$GOGS_USER/$GOGS_REPO/keys > /dev/null
 | 
			
		||||
    touch $HOME/.ssh/$GOGS_REPO-sended
 | 
			
		||||
    echo "$sbody" >> $HOME/.ssh/config
 | 
			
		||||
 | 
			
		||||
    echo "Almost done. Enter clone repository target dir [ENTER]"
 | 
			
		||||
    read cdir
 | 
			
		||||
    git clone ssh://gogs$sshhost:65522/$GOGS_USER/$GOGS_REPO $cdir
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user