I am trying to learn Django web framework. Bought a book that takes me through some simple projects. It had me set up a github account in a previous chapter. I have completed a new project that I will deploy. I tried to push it onto github and got an error. This is the dialog from my Windows computer:
PS C:\Users\Phil\desktop\django\pages> git init
Initialized empty Git repository in C:/Users/Phil/Desktop/django/pages/.git/
PS C:\Users\Phil\desktop\django\pages> git status
On branch master
No commits yet
Untracked files:
(use “git add <file>…” to include in what will be committed)
Pipfile
Pipfile.lock
db.sqlite3
manage.py
pages/
pages_project/
templates/
nothing added to commit but untracked files present (use “git add” to track)
PS C:\Users\Phil\desktop\django\pages> git remote add origin https://github.com/oldArky/pages-app.git
PS C:\Users\Phil\desktop\django\pages> git push -u origin master
error: src refspec master does not match any
error: failed to push some refs to ‘https://github.com/oldArky/pages-app.git’
I have no idea how to deal with this. Assistance will be greatly appreciated.