Github3

Git版本管理

簡介

安裝

命令

GitHub

GoogleCode

TortoiseGit

訊息

相關網站

參考文獻

最新修改

簡體版

English

Welcome to Git (version 1.8.0-preview20121022)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

ccckmit@CCCKMIT-PC ~
$ cd /d
sh.exe": cd: /d: no medium

ccckmit@CCCKMIT-PC ~
$ cd /g

ccckmit@CCCKMIT-PC /g
$ ls
$RECYCLE.BIN Spice.txt gitbook
101b System Volume Information install
37ad9ad279b57156e930db72e7727bbf abb2b58a26f8ce2c5e3fae1d liao
47a1ddc956aa46bf8680932185915614 bootmgr nqu
BOOTSECT.BAK brother pandoc
Blender c sphinx
Boot ccc student
Documents cccnqubook temp
HandyCam code video
ProgrammerMag ebook ???????????????
Spice git

ccckmit@CCCKMIT-PC /g
$ cd git

ccckmit@CCCKMIT-PC /g/git
$ cd pmag

ccckmit@CCCKMIT-PC /g/git/pmag (master)
$ cd 201301

ccckmit@CCCKMIT-PC /g/git/pmag/201301 (master)
$ cd code

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ dir

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ ls
JavaScript1 glModel

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git init
Initialized empty Git repository in g:/git/pmag/201301/code/.git/

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git add -A
warning: LF will be replaced by CRLF in glModel/glModel/cube.obj.
The file will have its original line endings in your working directory.

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git remote add origin https://github.com/programmermagazine/code201301.git

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git push -u origin master
Username for 'https://github.com': programmermagazine
Password for 'https://programmermagazine@github.com':
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/programmermagazine/code20
1301.git'

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git pull origin master
fatal: Couldn't find remote ref master
Unexpected end of command stream

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git remote add origin https://github.com/programmermagazine/code201301.git
fatal: remote origin already exists.

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git pull origin master
fatal: Couldn't find remote ref master
Unexpected end of command stream

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git pull origin master
fatal: Couldn't find remote ref master
Unexpected end of command stream

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git push -u origin master
Username for 'https://github.com': programmermagazine
Password for 'https://programmermagazine@github.com':
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/programmermagazine/code20
1301.git'

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git commit -m "first commit"
[master (root-commit) 48d7f2e] first commit
warning: LF will be replaced by CRLF in glModel/glModel/cube.obj.
The file will have its original line endings in your working directory.
19 files changed, 702 insertions(+)
create mode 100644 JavaScript1/array.htm
create mode 100644 JavaScript1/exp.htm
create mode 100644 JavaScript1/for.htm
create mode 100644 JavaScript1/func.htm
create mode 100644 JavaScript1/if.htm
create mode 100644 README.md
create mode 100644 glModel/glModel.sln
create mode 100644 glModel/glModel.suo
create mode 100644 glModel/glModel/Reader.h
create mode 100644 glModel/glModel/ReaderFactory.h
create mode 100644 glModel/glModel/TYPEDEF.h
create mode 100644 glModel/glModel/cube.obj
create mode 100644 glModel/glModel/glModel.cpp
create mode 100644 glModel/glModel/glModel.h
create mode 100644 glModel/glModel/glModel.vcxproj
create mode 100644 glModel/glModel/glModel.vcxproj.filters
create mode 100644 glModel/glModel/glModel.vcxproj.user
create mode 100644 glModel/glModel/main.cpp
create mode 100644 glModel/glModel/objReader.cpp
create mode 100644 glModel/glModel/objReader.h

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git remote add origin https://github.com/programmermagazine/code201301.git
fatal: remote origin already exists.

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$ git push -u origin master thub.com/programme
Username for 'https://github.com': programmermagazine
Password for 'https://programmermagazine@github.com':
Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (24/24), done.
Writing objects: 100% (25/25), 11.09 KiB, done.
Total 25 (delta 1), reused 0 (delta 0)
To https://github.com/programmermagazine/code201301.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.

ccckmit@CCCKMIT-PC /g/git/pmag/201301/code (master)
$

Facebook

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License