Otherwise you'll have to remove all files from the repository's target directory first. Neither the index nor the working tree are touched by the soft reset, leaving the index in the desired state for your. I have some.nupkg files from a c# book that i would like to install to visual studio How can i install them Here is what i see in the add library package reference window showing no packages, wi. I have the following commit history
But how do i modify head~3? For all unstaged files in current working directory use For a specific file use Git restore path/to/file/to/revert that together with git switch replaces the overloaded git checkout (see here), and thus removes the argument disambiguation If a file has both staged and unstaged changes, only the unstaged changes shown in git diff are reverted I think you need to push a revert commit
If you don't care about other people's clones of your github repository being broken, you can also delete and recreate the master branch on github after your reset The following blog post seems to give a very good example on how to handle merge conflict with git that should get you going in the right direction Handling and avoiding conflicts in git I already tried to pip uninstall. Part of the dependency graph looks like this
OPEN