Skip to content

Instantly share code, notes, and snippets.

@Lecarvalho
Last active May 29, 2021 12:23
Show Gist options
  • Save Lecarvalho/379eb747d2aa4c526e1381c2f244392d to your computer and use it in GitHub Desktop.
Save Lecarvalho/379eb747d2aa4c526e1381c2f244392d to your computer and use it in GitHub Desktop.
After creating the new repo, we just want to push the existant files to git
git init &&
git add . &&
git commit -m "first commit" &&
git branch -M main &&
git remote add origin url.git &&
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment