Monday, June 17, 2013

Github, Qin06EXG data, using a Snow Leopard laptop


First I created a repository on Gibhut https://github.com/hongqin/Qin06EXGData

Then I cloned the repository to laptop: /Users/hongqin/github/Qin06EXGData-master

$mv ../qinexg06data.local/* .
$ ll
total 8
drwxr-xr-x  20 hongqin  staff   680B Dec 16  2011 101S
drwxr-xr-x  20 hongqin  staff   680B Dec 16  2011 BY4743
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 M1-2
drwxr-xr-x  19 hongqin  staff   646B Dec 16  2011 M13
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 M14
drwxr-xr-x  19 hongqin  staff   646B Dec 16  2011 M2-8
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 M22
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 M32
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 M34
drwxr-xr-x  27 hongqin  staff   918B Dec 16  2011 M5
drwxr-xr-x  20 hongqin  staff   680B Dec 16  2011 M8
drwxr-xr-x  16 hongqin  staff   544B Dec 16  2011 PSY316
-rw-r--r--@  1 hongqin  staff    78B Jun 17 12:09 README.md
drwxr-xr-x  22 hongqin  staff   748B Dec 16  2011 RM112N
drwxr-xr-x  22 hongqin  staff   748B Dec 16  2011 SGU57
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 SK1
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 W303
drwxr-xr-x  18 hongqin  staff   612B Dec 16  2011 YPS128
drwxr-xr-x  23 hongqin  staff   782B Dec 16  2011 YPS163

$git init

$ git remote add origin https://github.com/hongqin/Qin06EXGData.git

$ git add *
$ git commit -m "qin06exg"
# A lot of things showed up on the screen, including subdirectory files. 
$$ git commit -m "qin06exg"
[master (root-commit) f11f5a4] qin06exg
 345 files changed, 84504 insertions(+)
 create mode 100755 101S/.RData
 create mode 100755 101S/.Rhistory
 create mode 100755 101S/060805.101S.rls.tab
 create mode 100755 101S/091904.101S.rls.tab
 create mode 100755 101S/101S.boot.dat

 create mode 100755 101S/101S.merged
 ... .... ...

$ git push --force origin master 
Counting objects: 251, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (247/247), done.
Writing objects: 100% (251/251), 638.97 KiB, done.
Total 251 (delta 15), reused 0 (delta 0)
To https://github.com/hongqin/Qin06EXGData.git

 + d37a505...f11f5a4 master -> master (forced update)


No comments:

Post a Comment