ace:LOH_H2O2_2012-master hongqin$ pwd
/Users/hongqin/projects/LOH_H2O2_2012-master
$ git add *
$ git add H2O2_Log_Plot_Summarized_data,2012July24.xlsx
$ git add analysis
$ git add data.H2O2-LOH
$ git commit -m "first H2O2-LOH"
#Many files are shown.
$git remote add origin https://github.com/hongqin/LOH_H2O2_2012.git
$ git push --force origin master
Username for 'https://github.com': hongqin
Password for 'https://hongqin@github.com':
Counting objects: 498, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (491/491), done.
Writing objects: 100% (498/498), 1.94 MiB | 996 KiB/s, done.
Total 498 (delta 215), reused 0 (delta 0)
Unable to rewind rpc post data - try increasing http.postBuffer #An error here
error: RPC failed; result=65, HTTP code = 401
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
To fix the http.postBuffer problem (default is 1M), see
http://blog.lukebennett.com/2011/07/25/git-broken-pipe-error-when-pushing-to-a-repository/
$ git config http.postBuffer 209715200
$ git push --force origin master
Username for 'https://github.com': hongqin
Password for 'https://hongqin@github.com':
Counting objects: 498, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (491/491), done.
Writing objects: 100% (498/498), 1.94 MiB, done.
Total 498 (delta 214), reused 0 (delta 0)
To https://github.com/hongqin/LOH_H2O2_2012.git
+ 9315588...47f5205 master -> master (forced update)
Check Github and now see the synced files.
No comments:
Post a Comment