이유 : 한번도 커밋을 안해서 그런거라고 한당 ㅇ_<
➜ studySpace0115 git:(master) ✗ git remote add origin https://github.com/ddoqi/studySpace.git
➜ studySpace0115 git:(master) ✗ git branch
➜ studySpace0115 git:(master) ✗ git branch dev
fatal: not a valid object name: 'master'
➜ studySpace0115 git:(master) ✗ git commit -m "initial commit"
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
.DS_Store
javaScript/
typeScript/
nothing added to commit but untracked files present (use "git add" to track)
➜ studySpace0115 git:(master) ✗ git add .
➜ studySpace0115 git:(master) ✗ git commit -m "initial commit"
[master (root-commit) 730b271] initial commit
4 files changed, 32 insertions(+)
create mode 100644 .DS_Store
create mode 100644 javaScript/.DS_Store
create mode 100644 javaScript/weekStudy/study1.js
create mode 100644 typeScript/.DS_Store
➜ studySpace0115 git:(master)✗ git push -u origin master
댓글