Thursday, March 6, 2014

git, 2011scengs, shell operations, aborted and then GitHub piecemeal fashion.

I had trouble to push the large data using Gui version. So, I tried to use the shell commands. 


git config --global user.name "hongqin"

biolaptop17:2011scengs hongqin$ sudo curl -s -O \
  http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain

biolaptop17:bin hongqin$ ll git-credential-osxkeychain 
-rw-r--r--  1 root  wheel    15K Mar  6 11:11 git-credential-osxkeychain

sudo chmod u+x git-credential-osxkeychain


biolaptop17:bin hongqin$ sudo git config --global credential.helper osxkeychain


biolaptop17:2011scengs hongqin$ pwd
/Users/hongqin/github/2011scengs

$ git add src/*


$ git commit -m "src"

biolaptop17:2011scengs hongqin$ git remote add origin https://github.com/hongqin/2011scengs.git

fatal: remote origin already exists.



git push --force origin master
#fatal error


I deleted the .git directory. Re-cloned Gibhut directory, and then move small-sized folders into the github project. Synch with Github Gui worked this time. 

It turns out that Gibhub limize files size to 100M. How did I uploaded 1.6G tarfile into the Bacillus coat repository? 






Check Github show that 2011scengs was not updated. 

No comments:

Post a Comment