国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

git commit message problem
黃舟
黃舟 2017-05-02 09:36:49
0
4
1610

When executing git commit, there are two ways to add message information to the commit
One is git commit -m 'your message'
and the other is git commit which will open the commit-editmsg file for editing the message. Information
The current problem is that after opening it (I set it to open in sublime), I wrote the relevant information in the file and saved it. What should I do next?
Execute it againgit commit or open a new message file.

黃舟
黃舟

人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!

reply all(4)
給我你的懷抱

You just set up sublime without adding parameters... It may be a problem caused by your failure to set it up successfully.

And git commit actually needs to wait for the return value of your editor. If you fail to make the editor return a value, then you will definitely not be able to save the message

小葫蘆

The vim editor is opened. By default, the ones starting with # will be ignored.
After you save, only the part you wrote will be saved.
Press Esc, then: x to save and exit. There is no need to submit it again.

If you want to use sublime, you can refer here
https://help.github.com/articles/associating-text-editors-with-git/#using-sublime-text-as-your-editor
After saving, close it Okay, then you can check the log

phpcn_u1582

After writing the comments, save->close sublime; only then will git complete this submission.
However, it is still recommended to use the default vim.

滿天的星座

No matter how you open the commit message file, after modification, save it directly. At this time, it means git commit -m "...",接下來(lái)使用git st查看狀態(tài)或者git log查看日志。如果有遠(yuǎn)程,請(qǐng)git push.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template