-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
TemplateTemplate issueTemplate issue
Description
- Add and alias
undothat reverts the most recent commit? - What happens if you
undoa commit that is already pushed to GitHub? - Can you use this command to
undoa commit that isn't your own? - What happens if the commit you undo have two (or more) parents?
- Add, commit and push your changes
Sometimes when you've committed your work - you instantly remember, that you forgot something.
- You didn't add all the files!
- You didn't put in the right commit message
- you're simply not done.
- ...
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.
Metadata
Metadata
Assignees
Labels
TemplateTemplate issueTemplate issue