Create the new repository: https://github.com/new
1.1 Example nameEventLogger
1.2 Create as Public and dont add a README yetLocate your folder in a command terminal: example
C:\Dev\EventLogger
2.1 rungit init, this will create a.gitfolderSet the
Git commit user setting
3.1C:\Dev\EventLogger\.git\config
3.2 Add as follows
1 | [user] |
Run
git add .to stage your local files
4.1 Rungit statusto confirm your files are added/stagedRun
git commit -m "first commit"
5.1 Rungit logto confirm your user setting`Run
git remote add origin https://github.com/carlpaton/EventLogger.gitRun
git push -u origin master
Optional
- Update the
configto include your credentials
1 | [remote "origin"] |
- NOTE: Credentials are stored in plain text!
test