Skip to content

Latest commit

 

History

History
43 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

43 lines (21 loc) · 1.02 KB

README

This is a test repo to practice @mozadrella's git workshop.

@mozzadrella showed us some really cool stuff:

Here are the things I might have the most trouble remembering. More detail in the notes

git remote

git remote add <> (REPO LOCATION)

git remote add mirror-dvs https://github.com/data-and-visualization/mozadrella-test.git

git push -u mirror-dvs master

  • -u identifies the default remote

git remote -v

git show master

Procedure: To Mirror an Existing GitHub Repo to DVS

  1. Goto the Social Coding Hub where you want to push your repo

  2. Create the Repo in the cloud

    • no need for .gitignore, license, or README because you are mirroring a repo.
  3. In the Newly created remote Repo > Settings > Collaborators

  4. Add a Collaborator

  5. Collaborator inviatation via email needs to be accepted

  6. Return to original local Repo

  7. Add a remote with the location pointer generated at the social-hub

  8. git push master