Skip to content

Instantly share code, notes, and snippets.

@tshenolo
Created September 29, 2022 20:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tshenolo/1d4c72d2abff82f3a5ea26ab66d33fab to your computer and use it in GitHub Desktop.
Save tshenolo/1d4c72d2abff82f3a5ea26ab66d33fab to your computer and use it in GitHub Desktop.
Git Starter
git remote add origin https://github.com/username/repository.git
git push -u origin main
git clone https://github.com/username/repository.git
git add .
git commit -m "add/updated files"
git push -u origin main
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/username/repository.git
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment