Home - Anjum219/Git-basics GitHub Wiki
Welcome to the Git-basics wiki!
I remember, when I was doing projects in undergrad life, I used to use git. But my practice was not healthy. I had less knowledge of git and more fear of git. Coming to the software industry, I started to have a good practice of git. And like most others, I discovered this is such a useful thing! Why didn't I use it more before!
In this wiki, I tried to assemble a few important git basics that will come to use in a developer's everyday work. These are explained super simply. See, if these help you. And don't forget to experiment! Experimenting, doing terrible mistakes, seeking solutions are the best ways to learn git and pretty most everything a programmer/developer wants to learn!
- Create a repository and link with local
- Work with a remote branch
- How to fetch code for reviewing a PR
- How to resolve merge conflict
- Branching and working
- Common mistakes and recovery
- Useful git stash commands
- Fun with git rebase interactive
- Revert and forget
- Cherrypicking
- Deleted accidentally
- Debug commit with git bisect
- Undo rebase
- Shortcuts in git
- Add specific change in work tree