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:
@ -1873,12 +1873,16 @@ $ git push origin refs/tags/<tag-name>
|
||||
|
||||
```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