- open command line, change directory to root of project
- initialize Git locally, run:
git init
- run:
git add .
andgit commit -m "initial commit"
separately - this will stage and commit all files
- consider using a .gitignore file
- on GitHub create a new repo: 'Your Repositories' > 'New'
- if your repo is named: 'MyRepo', and your Github user: 'MrGuy'
- run:
git remote add origin https://github.com/MrGuy/MyRepo
- run:
git push -u origin master
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)