I found this command useful and I love this alias! git pristine, a command that will wipe any dirt on your local git copy, any untracked files, and the cache will be removed to make it pristine clean as the remote origin.
Set up your global git configuration first. git config –global user.name “Your Name” git config –global user.email “id@your.site” If you want to create a new repository: