Skip to content

Instantly share code, notes, and snippets.

@loretoparisi
Last active April 10, 2024 18:25
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save loretoparisi/95bdcc9a59936f732dccdfd37f202dde to your computer and use it in GitHub Desktop.
Save loretoparisi/95bdcc9a59936f732dccdfd37f202dde to your computer and use it in GitHub Desktop.
Github Quick setup — if you’ve done this kind of thing before

Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.

…or create a new repository on the command line

echo "# myrepo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/loretoparisi/myrepo.git
git push -u origin master

…or push an existing repository from the command line

git remote add origin https://github.com/loretoparisi/myrepo.git
git pull origin master --allow-unrelated-histories
git commit -a -m "merge"
git push -u origin master

…or import code from another repository

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

@Jagguj786
Copy link

same issue for me----This info of quick setup never appear after make new repo how can I make it appear

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