Git Tips'n'Trix


I have written a number of posts on various issues related to Git. This page serves the purpose as an easy reference to these hints for me and others. I will add more tips'n'tricks as I discover them.



Installing git-completion.bash on Mac OS X
Git Rebase Commands
How to remove deleted branch names from Git autocomplete

Remove Local Changes

If you want to remove local changes made to your working copy, do this:


git checkout .

Reference: Remove local changes



Ingen kommentarer:

Send en kommentar