Last active
December 22, 2015 20:49
-
-
Save gabeborges/6528778 to your computer and use it in GitHub Desktop.
Revisions
-
Gabriel Carpenedo revised this gist
Jan 3, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,3 +29,7 @@ git clone git@github.com:cbgabe/projectname.git git checkout -b user-branchname master git pull git://github.com/user/projectname.git branchname #WORKING LOCAL WITHOUT INSTALLING A NEW RUBY VERSION rm .ruby-version #this will not commit it git update-index --assume-unchanged .ruby-version -
Gabriel Carpenedo revised this gist
Jan 3, 2014 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,3 +22,10 @@ $git remote add origin git@github.com:username/projectname.git $git push -u origin master WORKING WITH FORK AND UPDATE BRANCH #fork the repository to your local git clone git@github.com:cbgabe/projectname.git #if there is already an update branch you can pull it git checkout -b user-branchname master git pull git://github.com/user/projectname.git branchname -
Gabriel Carpenedo revised this gist
Sep 11, 2013 . 1 changed file with 15 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,22 @@ $git config --global user.name “username” $git config --global user.email exemple@email.com #setup your Git User Account. You need to have a git account in order to do it GENERATE SSH KEY: https://help.github.com/articles/generating-ssh-keys INITIALIZING: $mkdir projectname $cd projectname #this creates a folder in your local machine $git init $git add * or $git add README.md #for those who don't want to add all the files in the beggining $git commit -am "Initial Commit" $git remote add origin git@github.com:username/projectname.git #before you push your files you need to have the ssh key in your local machine in order to have permissions to do it #you also have to create a "repository" $git push -u origin master -
Gabriel Carpenedo created this gist
Sep 11, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ GIT CONFIG: $git config --global user.name “username” $git config --global user.email exemple@email.com #setup your Git User Account. You need to have a git account in order to do it GENERATE SSH KEY https://help.github.com/articles/generating-ssh-keys INITIALIZING $mkdir projectname $cd projectname $git init