Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 01:56
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Script para configurar y clonar repositorios de Github
Moderators: rarsa
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
nilsonmorales


Joined: 15 Apr 2011
Posts: 490
Location: El salvador

PostPosted: Fri 27 Dec 2013, 02:44    Post subject:  Script para configurar y clonar repositorios de Github  

Script para configurar y clonar repositorios de Github de forma automatizada en Puppylinux
Escrito por D-coy en canal irc #puppy-es (Gracias jefe sos lo maximo)

Necesitarán tener instalado git
Paquete git-1.8.4.2.pet

Code:
#!/bin/sh
#Script para automatizar configuración de git y clonar repositorios remotos
#27122013 Escritor por D-coy
#27122013, GPL3 (/usr/share/doc/legal)
#27122013 nilsonmorales lineas de ayuda

# Configuraciones de Usuario y Correo electronico

echo -n 'Ingrese su Usuario: '
read usuario
if git config --global user.name $usuario 2>/dev/null ; then
git config --global user.name $usuario
     
echo -n 'Ingrese su Correo: '
read correo
git config --global user.email $correo

#Configuraciones generales
     
git config --global core.editor geany
git config --global core.pager ''
git config --global color.ui true
git config --global http.sslVerify false
git config --global push.default matching
git config --global push.default simple
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
echo -n "Quieres clonar un repo? s/n: "
read clonar
if [ "$clonar" == "s" ]; then

#Introducir dirección electrónica del repositorio a clonar
#Ejemplo: https://github.com/nilsonmorales/Badass

echo -n "URL del repo a clonar: "
read repo
git clone $repo
fi
else
echo 'Necesitas tener "git" instalado...'   
exit
fi
ccgit.gz
Description  Remover falso .gz
gz

 Download 
Filename  ccgit.gz 
Filesize  1.19 KB 
Downloaded  105 Time(s) 

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
nilsonmorales


Joined: 15 Apr 2011
Posts: 490
Location: El salvador

PostPosted: Sun 16 Feb 2014, 23:23    Post subject:  

Además del script he comenzado una guía practica de como usar guit de forma sencilla en Puppy.

https://github.com/Woofshahenzup/Puppyes-ccgit

Saludos cordiales.

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
nilsonmorales


Joined: 15 Apr 2011
Posts: 490
Location: El salvador

PostPosted: Thu 17 Jul 2014, 01:02    Post subject: Aprendamos a usar git en PuppyLinux  

He continuado agregando mas teoria el Repositorio-Proyecto
https://github.com/Woofshahenzup/Puppyes-ccgit

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0456s ][ Queries: 13 (0.0050s) ][ GZIP on ]