mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-06-16 21:01:45 -03:00
Edits: changes in specific file between commits/branches (#346)
This commit is contained in:
@ -1409,12 +1409,16 @@ c5f567 한 단계전으로 복구하고 싶다면, c5f567~1로 적어줘요:
|
||||
|
||||
```sh
|
||||
$ git diff HEAD:path_to_file/file c5f567:path_to_file/file
|
||||
# 아니면 짧게:
|
||||
$ git diff HEAD c5f567 -- path_to_file/file
|
||||
```
|
||||
|
||||
브랜치도 같은 방법으로:
|
||||
|
||||
```sh
|
||||
$ git diff main:path_to_file/file staging:path_to_file/file
|
||||
# 아니면 짧게:
|
||||
$ git diff main staging -- path_to_file/file
|
||||
```
|
||||
|
||||
## 설정
|
||||
|
Reference in New Issue
Block a user