Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Created August 27, 2015 20:42
Show Gist options
  • Save jendiamond/2b91392449a9691d3fac to your computer and use it in GitHub Desktop.
Save jendiamond/2b91392449a9691d3fac to your computer and use it in GitHub Desktop.
1. Fork someone else's Pinterest or Blog repository. 
 Click on the fork button on GitHub. It is at the top right of the page.
This will clone a copy to your personal GitHub page.


Clone it to your local machine.
On your personal GitHub page
  click on the clipboard icon, this will copy it. Then paste it in your terminal.
•	$ git clone git@github.com:LARailsLearners/three-in-one_pinterest_instructions.git
•	create a branch  $ git checkout -b branch_name
•	type this in your terminal (don't type the $ symbol; this means type this in your terminal)

Add something to it that works, like a test or some styling. 
•	make your changes

Do a pull request to their repo.
•	git push origin branch_name

2. Push your apps to heroku. 
Put the link on your Github repo on Rails learners.


3. Add another repo to your local git so you can push to your 	repo on Rails learners, your repo on your own github account 	and push to heroku.
▪	$ git add remote railslearners git@github.com:LARailsLearners/three-in-	one_pinterest_instructions.git
▪	git remote add heroku git@heroku.com:project.git

you should be able to • git push origin master • git push railslearners master • git push heroku master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment