Skip to content

aodysseos/git-cheat-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚂 git-cheat-sheet 🚂

Useful git commands!

🤦‍♂️Undoing

1. Undo `git add` before commit
2. Return to previous commit
3. Amend the message of my last commit
4. Accidentally committed to the wrong branch
5. Accidentally committed to the wrong branch (Cherry-Pick)
6. Remove file or directory after adding it in to `.gitignore` file
1. Recover a deleted branch
1. Discarding local changes (permanently)
1. MacOS terminal commands 
2. MySQL commands
3. Reseting MYSQL 'root' user password

About

Useful git commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published