[[linux_wiki:git]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:git [2019/07/14 02:30]
billdozor [Exclude Files from Tracking]
linux_wiki:git [2020/01/10 23:29] (current)
billdozor [Extra Characters in git diff]
Line 336: Line 336:
  
   * Push local changes to your fork on github<​code bash>git push origin master</​code>​   * Push local changes to your fork on github<​code bash>git push origin master</​code>​
 +
 +----
 +
 +====== Troubleshooting ======
 +
 +Fixing different git issues.
 +
 +===== Extra Characters in git diff =====
 +
 +* Fix/remove '​ESC[xxx'​ characters in git diff<​code bash>git config --global core.pager "less -R"</​code>​
 +\\
 +
 +* Fix/remove '​^M'​ characters in git diff<​code bash>git config --global core.pager "tr -d '​\r'​ | less -REX"</​code>​
  
 ---- ----
  
  • linux_wiki/git.1563071421.txt.gz
  • Last modified: 2019/07/14 02:30
  • by billdozor