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.git
folderSet 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 status
to confirm your files are added/stagedRun
git commit -m "first commit"
5.1 Rungit log
to confirm your user setting`Run
git remote add origin https://github.com/carlpaton/EventLogger.git
Run
git push -u origin master
Optional
- Update the
config
to include your credentials
1 | [remote "origin"] |
- NOTE: Credentials are stored in plain text!
test