tomvi@lt MINGW32 ~/Desktop/testserver
$ git init
Initialized empty Git repository in C:/Users/tomvi/Desktop/testserver/.git/
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git add .
warning: LF will be replaced by CRLF in im/node_modules/constantinople/.gitattributes.
The file will have its original line endings in your working directory.
省略类似警告
warning: LF will be replaced by CRLF in node 版的 access 数据库操作 /node_modules/constantinople/.gitattributes.
省略类似警告
The file will have its original line endings in your working directory.
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git commit -m "first commit"
[master (root-commit) 407d371] first commit
warning: LF will be replaced by CRLF in im/node_modules/constantinople/.gitattributes.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in im/node_modules/constantinople/.npmignore.
还是省略类似警告
The file will have its original line endings in your working directory.
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git commit -m "first commit"
On branch master
Changes not staged for commit:
modified: Vue+Bootstrap+Echart+animate (modified content, untracked content)
modified: asp.net/AccessToCloud (modified content, untracked content)
modified: "asp.net/MvcTestOrigin/MvcTest\346\235\250\344\270\275\345\207\241\344\277\256\346\224\271\347\211\210" (modified content, untracked content)
modified: "asp.net/MvcTestOrigin/MvcTest\346\267\273\345\212\240\346\211\213\346\234\272\347\211\210" (modified content, untracked content)
It took 2.03 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').
no changes added to commit
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ ^C
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git add Vue+Bootstrap+Echart+animate
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git add asp.net
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git commit -m "commit"
On branch master
Changes not staged for commit:
modified: Vue+Bootstrap+Echart+animate (modified content, untracked content)
modified: asp.net/AccessToCloud (modified content, untracked content)
modified: "asp.net/MvcTestOrigin/MvcTest\346\235\250\344\270\275\345\207\241\344\277\256\346\224\271\347\211\210" (modified content, untracked content)
modified: "asp.net/MvcTestOrigin/MvcTest\346\267\273\345\212\240\346\211\213\346\234\272\347\211\210" (modified content, untracked content)
no changes added to commit
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git remote add origin [email protected]:TomVista/DailyTest.git
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git push -u origin master
The authenticity of host 'github.com (52.74.223.119)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known hosts.
Counting objects: 15020, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14450/14450), done.
Writing objects: 100% (15020/15020), 64.39 MiB | 365.00 KiB/s, done.
Total 15020 (delta 3578), reused 0 (delta 0)
remote: Resolving deltas: 100% (3578/3578), done.
remote: D, [2019-03-27T01:49:40.430677 #48869] DEBUG -- : FAILBOT: {"sha"=>"bcec58820e54c975e3510e8b5254285db314dbd8", "current_ref"=>"cmn/generous-quotas", "app"=>"github-user", "ruby"=>"ruby 2.5.2p65 (2018-07-02 revision 63309) [x86_64-linux]", "server"=>"github-dfs-185abc3.cp1-iad.github.net", "deployed_to"=>"production", "pusher"=>"TomVista", "proto"=>"ssh", "path"=>"/data/repositories/9/nw/96/aa/5a/207933782/177937822.git", "from"=>"hooks/pre-receive.rb.rb [TomVista/DailyTest.git]", "audit_msg"=>"{ \"above_lock_quota\":false, \"above_warn_quota\":false, \"babeld\":\"c6e8f0d0\", \"babeld_proto\":\"ssh\", \"check_lfs_integrity\":false, \"cmdline\":\"/usr/lib/git-core/git receive-pack .\", \"committer_date\":\"1553676371 -0700\", \"disable_hooks\":true, \"enqueue_to_hydro\":false, \"features\":\" report-status side-band-64k agent=git/2.7.2.windows.1\", \"frontend\":\"github-babel-1af9114.cp1-iad.github.net\", \"frontend_pid\":10032, \"frontend_ppid\":25508, \"git_dir\":\"/data/repositories/9/nw/96/aa/5a/207933782/177937822.git\", \"gitauth_version\":\"bcec5882\", \"hostname\":\"github-dfs-185abc3.cp1-iad.github.net\", \"pgroup\":\"2180\", \"pid\":2180, \"ppid\":1951, \"program\":\"receive-pack\", \"pubkey_fingerprint\":\"81:c3:df:25:8b:b6:a1:a7:2d:50:df:c0:e8:29:18:58\", \"pubkey_id\":34111895, \"quotas_enabled\":true, \"real_ip\":\"121.28.85.214\", \"received_objects\":15020, \"remote_addr\":\"172.16.25.25\", \"remote_port\":\"36144\", \"repo_config\":\"{}\", \"repo_id\":177937822, \"repo_name\":\"TomVista/DailyTest\", \"repo_public\":true, \"request_id\":\"405c0b183c58f03448a59185385cf577\", \"scan_for_tokens\":true, \"status\":\"pre_receive_hook\", \"use_http_postrx\":false, \"user_id\":42435611, \"user_login\":\"TomVista\", \"user_operator_mode\":false }", "env"=>"production", "error_code"=>"c2c4ee3b5ea66bb8235cfb977a50ea92", "class"=>"GitHub::PreReceiveBlob::PushRejected", "message"=>"GitHub::PreReceiveBlob::PushRejected", "backtrace"=>"", "created_at"=>"2019-03-27T08:49:40.426119Z", "refs"=>"refs/heads/master: 407d3716a8032707702eeee3494a4cb76d0e7d0f", "files"=>"node\xE7\x89\x88\xE7\x9A\x84access\xE6\x95\xB0\xE6\x8D\xAE\xE5\xBA\x93\xE6\x93\x8D\xE4\xBD\x9C/sqlserver/BCS7.mdb: 168431616 bytes", "repo"=>"TomVista/DailyTest", "rollup"=>"2a7bc1e29623942867c40e965f833e13", "datacenter"=>"cp1"}
remote: D, [2019-03-27T01:49:40.430752 #48869] DEBUG -- : GitHub::PreReceiveBlob::PushRejected
remote: D, [2019-03-27T01:49:40.430782 #48869] DEBUG -- : "\xE7" from ASCII-8BIT to UTF-8
remote: D, [2019-03-27T01:49:40.430838 #48869] DEBUG -- : /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `encode'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `to_json'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `report'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot.rb:257:in `report!'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot.rb:225:in `report'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/pre_receive_blob.rb:74:in `check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:40:in `block (2 levels) in check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/dogstatsd-ruby-1.6.0/lib/statsd.rb:199:in `time'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/ruby/784b3dda879bfe72f4416b516baa08608e22d571/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:39:in `block in check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:34:in `each'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:34:in `check'
remote: hooks/pre-receive.rb:52:in `block in <main>'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/dogstatsd-ruby-1.6.0/lib/statsd.rb:199:in `time'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/ruby/784b3dda879bfe72f4416b516baa08608e22d571/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
remote: hooks/pre-receive.rb:51:in `<main>'
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: c2c4ee3b5ea66bb8235cfb977a50ea92
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File node 版的 access 数据库操作 /sqlserver/BCS7.mdb is 160.63 MB; this exceeds GitHub's file size limit of 100.00 MB
To [email protected]:TomVista/DailyTest.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:TomVista/DailyTest.git'
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git pull
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Counting objects: 15020, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14450/14450), done.
Writing objects: 100% (15020/15020), done.
Total 15020 (delta 3581), reused 0 (delta 0)
Removing duplicate objects: 100% (256/256), done.
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git push -u origin master
Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hosts.
Counting objects: 15020, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10869/10869), done.
Writing objects: 100% (15020/15020), 64.39 MiB | 385.00 KiB/s, done.
Total 15020 (delta 3581), reused 15020 (delta 3581)
remote: Resolving deltas: 100% (3581/3581), done.
remote: D, [2019-03-27T02:03:54.156123 #262550] DEBUG -- : FAILBOT: {"sha"=>"bcec58820e54c975e3510e8b5254285db314dbd8", "current_ref"=>"cmn/generous-quotas", "app"=>"github-user", "ruby"=>"ruby 2.5.2p65 (2018-07-02 revision 63309) [x86_64-linux]", "server"=>"github-dfs-185abc3.cp1-iad.github.net", "deployed_to"=>"production", "pusher"=>"TomVista", "proto"=>"ssh", "path"=>"/data/repositories/9/nw/96/aa/5a/207933782/177937822.git", "from"=>"hooks/pre-receive.rb.rb [TomVista/DailyTest.git]", "audit_msg"=>"{ \"above_lock_quota\":false, \"above_warn_quota\":false, \"babeld\":\"c6e8f0d0\", \"babeld_proto\":\"ssh\", \"check_lfs_integrity\":false, \"cmdline\":\"/usr/lib/git-core/git receive-pack .\", \"committer_date\":\"1553677215 -0700\", \"disable_hooks\":true, \"enqueue_to_hydro\":false, \"features\":\" report-status side-band-64k agent=git/2.7.2.windows.1\", \"frontend\":\"github-babel-57df2a8.cp1-iad.github.net\", \"frontend_pid\":22201, \"frontend_ppid\":6505, \"git_dir\":\"/data/repositories/9/nw/96/aa/5a/207933782/177937822.git\", \"gitauth_version\":\"bcec5882\", \"hostname\":\"github-dfs-185abc3.cp1-iad.github.net\", \"pgroup\":\"101556\", \"pid\":101556, \"ppid\":101365, \"program\":\"receive-pack\", \"pubkey_fingerprint\":\"81:c3:df:25:8b:b6:a1:a7:2d:50:df:c0:e8:29:18:58\", \"pubkey_id\":34111895, \"quotas_enabled\":true, \"real_ip\":\"121.28.85.214\", \"received_objects\":15020, \"remote_addr\":\"172.16.21.29\", \"remote_port\":\"46132\", \"repo_config\":\"{}\", \"repo_id\":177937822, \"repo_name\":\"TomVista/DailyTest\", \"repo_public\":true, \"request_id\":\"bcfba6f549274e629dae4ca39bd95cdd\", \"scan_for_tokens\":true, \"status\":\"pre_receive_hook\", \"use_http_postrx\":false, \"user_id\":42435611, \"user_login\":\"TomVista\", \"user_operator_mode\":false }", "env"=>"production", "error_code"=>"820637599be4f00142a398b5c1b3e46f", "class"=>"GitHub::PreReceiveBlob::PushRejected", "message"=>"GitHub::PreReceiveBlob::PushRejected", "backtrace"=>"", "created_at"=>"2019-03-27T09:03:54.152724Z", "refs"=>"refs/heads/master: 407d3716a8032707702eeee3494a4cb76d0e7d0f", "files"=>"node\xE7\x89\x88\xE7\x9A\x84access\xE6\x95\xB0\xE6\x8D\xAE\xE5\xBA\x93\xE6\x93\x8D\xE4\xBD\x9C/sqlserver/BCS7.mdb: 168431616 bytes", "repo"=>"TomVista/DailyTest", "rollup"=>"2a7bc1e29623942867c40e965f833e13", "datacenter"=>"cp1"}
remote: D, [2019-03-27T02:03:54.156182 #262550] DEBUG -- : GitHub::PreReceiveBlob::PushRejected
remote: D, [2019-03-27T02:03:54.156209 #262550] DEBUG -- : "\xE7" from ASCII-8BIT to UTF-8
remote: D, [2019-03-27T02:03:54.156256 #262550] DEBUG -- : /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `encode'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `to_json'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot/json_backend.rb:18:in `report'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot.rb:257:in `report!'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/failbot-2.0.1/lib/failbot.rb:225:in `report'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/pre_receive_blob.rb:74:in `check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:40:in `block (2 levels) in check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/dogstatsd-ruby-1.6.0/lib/statsd.rb:199:in `time'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/ruby/784b3dda879bfe72f4416b516baa08608e22d571/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:39:in `block in check'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:34:in `each'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/lib/github/githooks/push_context.rb:34:in `check'
remote: hooks/pre-receive.rb:52:in `block in <main>'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/gems/2.5.2/ruby/2.5.0/gems/dogstatsd-ruby-1.6.0/lib/statsd.rb:199:in `time'
remote: /data/github/releases/20190327082344-bcec58820e54c975e3510e8b5254285db314dbd8/vendor/ruby/784b3dda879bfe72f4416b516baa08608e22d571/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
remote: hooks/pre-receive.rb:51:in `<main>'
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 820637599be4f00142a398b5c1b3e46f
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File node 版的 access 数据库操作 /sqlserver/BCS7.mdb is 160.63 MB; this exceeds GitHub's file size limit of 100.00 MB
To [email protected]:TomVista/DailyTest.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:TomVista/DailyTest.git'
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git remote add origin https://github.com/TomVista/DailyTest.git
fatal: remote origin already exists.
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git remote rm origin
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git remote add origin DailyTest
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git push -u origin master
fatal: 'DailyTest' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$ git remote add origin https://github.com/TomVista/DailyTest.git
fatal: remote origin already exists.
tomvi@lt MINGW32 ~/Desktop/testserver (master)
$
1
TomVista OP 求一份 git 教程恶补一下`````
|
2
jadec0der 2019-03-27 17:33:13 +08:00 2
|
3
guog 2019-03-27 17:35:11 +08:00 1
|
4
msg7086 2019-03-27 17:37:12 +08:00
File node 版的 access 数据库操作 /sqlserver/BCS7.mdb is 160.63 MB; this exceeds GitHub's file size limit of 100.00 MB
这么大的字看不到也是醉了。 |
6
wowo243 2019-03-27 17:38:30 +08:00 1
|