Differences

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

Link to this comparison view

Both sides previous revision Previous revision
git_clean [2018/05/24 09:40] – [DESCRIPTION] rpjdaygit_clean [2019/02/28 15:25] (current) – [Overriding standard ignore rules] rpjday
Line 89: Line 89:
     rebuild everything from scratch, but keep manually created     rebuild everything from scratch, but keep manually created
     files.     files.
 +</code>
 +
 +===== Getting a "pristine" working tree =====
 +
 +Create a shell alias:
 +
 +<code>
 +alias gpristine='git reset --hard && git clean -dfx'
 </code> </code>
  • git_clean.1527154807.txt.gz
  • Last modified: 2018/05/24 09:40
  • by rpjday