Skip to content

Instantly share code, notes, and snippets.

@HereOrCode
Created October 17, 2021 04:57
Show Gist options
  • Save HereOrCode/59822bd98499422f5b7d5de6f70cf2d9 to your computer and use it in GitHub Desktop.
Save HereOrCode/59822bd98499422f5b7d5de6f70cf2d9 to your computer and use it in GitHub Desktop.
github repo

…or create a new repository on the command line

echo "# fhefh2015.github.io" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:fhefh2015/fhefh2015.github.io.git
git push -u origin main

…or push an existing repository from the command line

git remote add origin git@github.com:fhefh2015/fhefh2015.github.io.git
git branch -M main
git push -u origin main

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

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