#TIL #git hunk에서 원하는 부분만 stage 하기

$ git add -p <pathspec>

hunk를 stage 하려면 s 키를 누르면 되고 e 키를 누르면 에디터로 hunk에서 stage 할 코드를 수정할 수 있다.

참고

Feedback plz <3 @ohyecloudy, ohyecloudy@gmail.com

A Random Post