- Create a repository on GitHub and save the HTTPS for later
- Open a command line on the root folder of your project
- Init a local repository
git init
- Stage all the files
git add .
- Commit
git commit -m "First commit"
- Associate the Gii repository
git remote add origin [YOUR_REPO_URL]
- Check remote connection
git remote -v
- Push all to the remote repository
git push origin master
Last active
November 15, 2021 14:42
-
-
Save jessicamilene/0203f153be10ad41ad5aac09c5c9a9ea to your computer and use it in GitHub Desktop.
Adding an existing project to GitHub (command line)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment