User Tools

Site Tools


git_clean

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]
rpjday [DESCRIPTION]
git_clean [2019/02/28 15:25] (current)
rpjday [Overriding standard ignore rules]
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.txt ยท Last modified: 2019/02/28 15:25 by rpjday