Commit has not been pushed online
If the commit only exists in your local repository and has not been pushed to GitHub.com, you can amend the commit message with the git commit --amend command.
- On the command line, navigate to the repository that contains the commit you want to amend.
- Type git commit --amend and press Enter.
- In your text editor, edit the commit message, and save the commit.
이후 Vim Editor에서 쓰이게 될 명령어:
https://stevenpcurtis.medium.com/using-vim-as-a-text-editing-tool-on-the-mac-9595c1122e91
(insert mode에서 normal mode로 변경하고 싶으면 esc 누르면 된다.)
'WIL(What I Learned)' 카테고리의 다른 글
21.12.4 토 (0) | 2021.12.04 |
---|---|
Java Enhanced For Loop(자바 향상된 반복문) (0) | 2021.12.02 |
21.11.29 月 (0) | 2021.11.30 |
21.11.26 金 (0) | 2021.11.26 |
21.11.22 月 (0) | 2021.11.22 |