And russel borogove gave me the exact answer i needed for my problem, i am happy. I am using the following code which is working on local machine, but when i tried the same code on server it throws me error a connection attempt failed because the. I think this is not a duplicate of git undo last commit as it asks how to delete any commit from a branch I also think non of the answers actually address this question Git clone will clone remote branch into local Is there any way to clone a specific branch by myself without switching branches on the remote repository?
How do i easily undo a git rebase A lengthy manual method is How do i create a regular expression to match a word at the beginning of a string We are looking to match stop at the beginning of a string and anything can follow it Will generate the patch file for the latest commit formatted to resemble the unix mailbox format Then you can reapply the patch file in a mailbox format by