DREAMER

[Git] 본문

카테고리 없음

[Git]

연소민 2023. 2. 1. 14:38
728x90
반응형

git log --decorate --oneline --graph

git format-patch -1 -o ~/Yocto/Poky/MyLayer/recipes-myrecipe/mycomponent/files/
git rebase -i {제거하려고 하는 커밋의 직전 커밋 id}

drop 으로 변경

 

git log --name-status -2

Will show you the names of the files that changed for the last two commits.

git log -p -2

Will show you the changes themselves.

 

Before pulling,

git fetch
git log --name-status origin/master..

Will show you what commits you are about to retrieve, along with the names of the files.

 
 
$ git fetch
$ git diff master...origin/master
728x90
반응형
Comments