Created
November 8, 2017 10:33
-
-
Save MaraAlexa/c3afc3fde11c1ffcf4bf2938e84c06c7 to your computer and use it in GitHub Desktop.
connect git with github
This file contains 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 characters
// initiate git (local new repo) | |
git init | |
// save all the files in your new local repo | |
git add . | |
// commit them | |
git commit -m "First commit" | |
// connect git with github repo | |
git remote add origin (paste cloned github url) | |
// Verify the new remote URL | |
git remote -v | |
// Push the changes in your local repository up to the remote repository you specified as the origin | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment