This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout <branch-name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/35978550/how-to-show-uncommitted-changes-in-git-and-some-git-diffs-in-detail | |
git diff | |
https://stackoverflow.com/questions/8554776/how-to-filter-git-diff-based-on-file-extensions | |
git diff -- '***.py' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git whatchanged --name-only --pretty="" *.xaml *.cs | |
or | |
git whatchanged --oneline --name-only | |
https://stackoverflow.com/questions/25289469/how-to-find-list-of-unique-files-that-have-changed | |
https://stackoverflow.com/questions/10641361/get-all-files-that-have-been-modified-in-git-branch | |
find list of unique files that changed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff two files in different branches | |
D:\pathofrepo>git diff origin/branch1 origin/branch2 -- pathtofile/filename.cs | |
if you want to ignore white spaces | |
git diff -b origin/branch1 origin/branch2 -- pathtofile/filename.cs | |
reference: | |
https://stackoverflow.com/questions/4350678/git-diff-w-ignore-whitespace-only-at-start-end-of-lines |
OlderNewer