aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2024-01-23 23:42:11 +0800
committerGuangxiong Lin <[email protected]>2024-01-23 23:42:11 +0800
commit7412349b3e27e6c03eeb0011abd07507ba55ccd9 (patch)
tree9026209d8f27c639c015d16bd645421a32d7b724
parenta9372bcc2ce4c279087df031082df5dd6bf0ae0e (diff)
downloadnavi-cheats-master.tar.gz
navi-cheats-master.tar.bz2
navi-cheats-master.zip
Avoid using --color-words by defaultHEADmaster
-rw-r--r--git.cheat2
1 files changed, 0 insertions, 2 deletions
diff --git a/git.cheat b/git.cheat
index cf50d0b..e690ad0 100644
--- a/git.cheat
+++ b/git.cheat
@@ -17,14 +17,12 @@ git remote get-url origin
# Diff a specific file between commits
git diff \
- --color-words \
--ignore-space-change \
<start_commit_id>..<end_commit_id> \
-- <files_changed_between_commits>
# Diff files changed compared to master branch
git diff \
- --color-words \
--ignore-space-change \
-- <files_changed_compared_to_master_branch>