Open lakruzz opened 1 year ago
undo
Sometimes when you've committed your work - you instantly remember, that you forgot something.
It would be nice to have command git undo you could run to undo the most recent commit.
git undo
Go and investigate what git command can help you to achieve this and then add the undo alias to the .gitignore file you created for your team.
.gitignore
undo
that reverts the most recent commit?undo
a commit that is already pushed to GitHub?undo
a commit that isn't your own?Sometimes when you've committed your work - you instantly remember, that you forgot something.
It would be nice to have command
git undo
you could run to undo the most recent commit.Go and investigate what git command can help you to achieve this and then add the
undo
alias to the.gitignore
file you created for your team.