Skip to content

Usefule Git Commands and processes by @mozadrella / sponsored by Github for the classroom

License

Notifications You must be signed in to change notification settings

libjohn/tutorial-github-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Usefule Git Commands and processes by @mozadrella / sponsored by Github for the classroom

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages