https://github.com/sefatanam/gitwizardry
Collection of all the topic/story and how avoid those mistakes in git.
https://github.com/sefatanam/gitwizardry
git tips-and-tricks wizardry
Last synced: about 1 year ago
JSON representation
Collection of all the topic/story and how avoid those mistakes in git.
- Host: GitHub
- URL: https://github.com/sefatanam/gitwizardry
- Owner: sefatanam
- License: mit
- Created: 2022-10-13T18:52:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T08:44:38.000Z (almost 3 years ago)
- Last Synced: 2025-04-12T04:19:23.842Z (about 1 year ago)
- Topics: git, tips-and-tricks, wizardry
- Homepage: https://github.com/sefatanam/GitWizardry
- Size: 108 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Git Wizardy: Unlock Ways to Turn Your Mistakes into Victories!
### Overview
Welcome to the "Turn Around Your Git Mistakes" repository! This repository serves as a comprehensive guide to help you navigate through various Git mishaps and mistakes that you might encounter while working with version control. Git is a powerful tool, but even experienced developers can make errors from time to time. The goal of this repository is to equip you with the knowledge and techniques to rectify those mistakes effectively.
### What's Inside
1. [Stop tracking a tracked file](./topics/1.Stop%20tracking%20a%20tracked%20file.md)
2. [Modify the Last Commit](./topics/2.Modify%20the%20Last%20Commit.md)
3. [Modify the Last Commit Message](./topics/3.Modify%20the%20Last%20Commit%20Message.md)
4. [Discarding all the Changes in your working directory](./topics/4.%20Discarding%20all%20Changes%20in%20your%20working%20directory.md)
5. [Discard all changes made to a file](./topics/5.%20Discard%20all%20changes%20made%20to%20a%20file.md)
6. [Restore a file to an old version back in time](./topics/6.%20Restore%20a%20file%20to%20an%20old%20version%20back%20in%20time.md)
7. [Recover a deleted file (Previously Committed)](./topics/7.%20Recover%20a%20deleted%20file(previously%20committed).md)
8. [Discard all changes is your local repo to extract state in remote](./topics/8.%20Discard%20all%20changes%20in%20your%20local%20repo%20to%20exact%20state%20in%20remote.md)
9. [Delete Untracked Files](./topics/9.%20Delete%20Untracked%20Files.md)
10. [Switch a commit to a different branch](./topics/10.%20Switch%20a%20commit%20to%20a%20different%20branch.md)
### Purpose of this Repository
The purpose of this repository is to provide a practical playground for developers to learn and practice various Git recovery and correction techniques. By going through these topics, you'll gain a deeper understanding of Git's capabilities and enhance your skills in managing version control effectively.
### Additional Resources
For additional reading and reference, you can explore the following link:
1. [https://dev.to/smitterhane](https://dev.to/smitterhane/turn-around-your-git-mistakes-in-17-ways-2mn1)
We hope you find this repository helpful in honing your Git skills and turning your mistakes into valuable learning opportunities.
Happy coding! 🚀