D:\hci_ha\test>git status
On branch 588
Your branch is up to date with 'origin/588'.



D:\hci_ha\test>git add .
warning: LF will be replaced by CRLF in exec_main.rb.
The file will have its original line endings in your working directory

D:\hci_ha\test>git status
On branch 588
Your branch is up to date with 'origin/588'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   .idea/workspace.xml
        modified:   debug.txt
        modified:   exec_main.rb


D:\hci_ha\test>git branch
* 588
  590
  dev_cyr
  master

D:\hci_ha\test>git checkout 588
Already on '588'
M       .idea/workspace.xml
M       debug.txt
M       exec_main.rb
Your branch is up to date with 'origin/588'.

D:\hci_ha\test>git commit -m "for test"
[588 7e8cc72] for test
 3 files changed, 155 insertions(+), 25 deletions(-)

D:\hci_ha\test>git push

posted on 2019-08-19 21:08  bainianminguo  阅读(107)  评论(0编辑  收藏  举报