go to particular commit in git
Safe way to do this by creating a new branch with a particular commit hash. Here is an example: git checkout -b new_branch 6e559cb( replace with your hash ) That’s it!!!
Safe way to do this by creating a new branch with a particular commit hash. Here is an example: git checkout -b new_branch 6e559cb( replace with your hash ) That’s it!!!
Apply svn patch patch -p0 -i path_of_patch_file.patch Example: patch -p0 -i Undo svn patch svn patch –reverse-diff path_of_patch_file.patch Example: svn patch –reverse-diff
Video for who doesn’t like to read ;). And if you like the video then subscribe my channel and share this with others who has the same issue. Recently I came across this below error when I tried to run…

Change URL without reloading page using Javascript

Yesterday I updated my macOS to latest Catalina version. After updating it GIT was not working. That always happens to me :-). I was getting following error. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Many…