Git · Uncategorized

Git undoing mistakes

Often we make mistakes and try to go back to previous status of Git. Here are some important commands to undo some changes safely. Discard changes in the working directory: For example, you just started working after cloning or after some commits. Now, you modified some stuff but want to start fresh and discard what… Continue reading Git undoing mistakes

Advertisements