- Suppress warnings in git
- Common git commands
- git reset hard/soft/mixed
- switch branch from one to another while WIP
- suppose by mistake you ran 'git reset — hard' and after that, you realize you have deleted something which should not be. note that: it won't be deleted instantly....it takes some time to delete and collect by garbage collector of Github so by that time you can recover. Following are the ways you can do that:
- suppose you added some changes in your master branch and it got pulled by your coworker but after some time you realize that you did a really big mistake. How will we back to prev state?
- when your files are in unstage and you want to remove it
- rename branch
- Cherry-picking
- Undo changes
- copy
- basic cmds
- refactor commits
- Refactor a particular file after committing
- remove untracked file
Lecture (1)
Git alias (1)