Skip to content

Instantly share code, notes, and snippets.

@nekoprog
Last active November 19, 2023 13:31
Show Gist options
  • Save nekoprog/acd66ce818693a873ec437c74d2d0d61 to your computer and use it in GitHub Desktop.
Save nekoprog/acd66ce818693a873ec437c74d2d0d61 to your computer and use it in GitHub Desktop.
Git common command
rm -rfv .git
git init -b main
git add .
git commit -m "First commit"
git remote add origin https://github.com/REPO.git
gh auth login
git push origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment