Skip to content

Instantly share code, notes, and snippets.

@Tasha25
Created November 13, 2013 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tasha25/7449804 to your computer and use it in GitHub Desktop.
Save Tasha25/7449804 to your computer and use it in GitHub Desktop.
Ways to create a repo off of an existing project.
Create a new Repository aside from the one that already exists for a project.
Go into the file you want to push up.
ex: CourtPOv1
Get the git name and push up to it in the terminal. I substitute tasha for origin. That can be anything you want it to be.
$ git remote add tasha git@github.com:Tasha25/CourtPOv1.git
Add material
$ git add .
Commit any info
$ git commit -am “Added Readme file”
Push up the branch you want to push while in it
$ git push tasha links
You can move into master and merge links
$git checkout master
$git merge links
$git add .
$git commit -m “Created a readme file”
Push up master to repo
$git push tasha master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment