Monthly Archives: December 2015

git stuff +++ – – –

1. Revert back to previous commit # git checkout <commit> # git checkout -b new_branch_name <commit> 2. Undo add 1. Undo file/directory added # git reset <file or directory name> 2. To undo all the added file # git reset … Continue reading

Posted in /random | Tagged , , | Leave a comment