Repository navigation
Open
Description
$ git clone https://github.com/incheol-baek/pythonstudy2013.git
Cloning into 'pythonstudy2013'...
warning: You appear to have cloned an empty repository.
$ git status
# On branch master
#
# Initial commit
#
nothing to commit (create/copy files and use "git add" to track)
$ mkdir chapter1
$ cd chapter1/
$ touch chapter1.md
$ git add .
$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: chapter1/chapter1.md
#
$ git commit -m "init"
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'incheolbaek@INCHEOLBAEKC1BE.(no
ne)')
incheolbaek@INCHEOLBAEKC1BE /z/Documents/workspace-python/pythonstudy2013 (maste
r)
$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"
$ git commit -m "init"
[master (root-commit) eaf985b] init
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 chapter1/chapter1.md
$ git status
# On branch master
nothing to commit, working directory clean
$ git push origin master
Username for 'https://github.com': misocharles@gmail.com
Password for 'https://misocharles@gmail.com@github.com':
Counting objects: 4, done.
Writing objects: 100% (4/4), 249 bytes, done.
Total 4 (delta 0), reused 0 (delta 0)
To https://github.com/incheol-baek/pythonstudy2013.git
* [new branch] master -> master
하나씩 따라하시면 git 설정이 완료됩니다 ^^
Metadata
Metadata
Assignees
Labels
No labels
Activity