首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Calculator

Calculator 是一款运行于 Windows 下的计算软件.

详情

Calculator 下载

Calculator(GUI)下载






注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> GitHub
Questions in category: GitHub (git).

[git] 更新仓库中的内容并上传

Posted by haifeng on 2019-03-08 23:39:34 last update 2019-04-07 10:35:10 | Answers (0)


haife@hp MINGW64 /d/download/github/calculator (master)                         
$ git status                                                                    
On branch master                                                                
Your branch is up to date with 'origin/master'.                                 
                                                                                
Changes not staged for commit:                                                  
  (use "git add ..." to update what will be committed)                    
  (use "git checkout -- ..." to discard changes in working directory)     
                                                                                
        modified:   .vs/calculator/v14/.suo                                     
        modified:   Release/calculator.exe                                      
        modified:   calculator/BigNumber.cpp                                    
        modified:   calculator/BigNumber.h                                      
        modified:   calculator/calculator.cpp                                   
                                                                                
no changes added to commit (use "git add" and/or "git commit -a")               
                                                                                
haife@hp MINGW64 /d/download/github/calculator (master)                         

然后执行 git add -u 或者 git add .

重新查询状态

git status

git commit (写评注)

haife@hp MINGW64 /d/download/github/calculator (master)                         
$ git commit                                                                    
[master 3487c12] 1. BigNumber.cpp 中的 ChangeInfix() 函数在debug时导致如下错误:
 String subscript out of Range 现在已经修复, 详见 ChangeInfix()的定义.          
 5 files changed, 335 insertions(+), 29 deletions(-)                            
 rewrite .vs/calculator/v14/.suo (66%)                                          
 rewrite Release/calculator.exe (82%)                                           
                                                                                
haife@hp MINGW64 /d/download/github/calculator (master)                         
$ git push origin master