Harsh Kapadia
Harsh Kapadia
- [ ] Contextual `git push` and `git pull`. (Find context using `git branch`.) - Executing just `git push` instead of `git push origin main` to push code to the...
- [x] Add `git config --global init.defaultBranch ` to the `git config` sub-section. - This is to combat the new default `main` branch on GitHub. - Add note that this...
- [ ] From image below make the following changes to the `git branch` sub-section: - Make necessary changes to `-m` option in web site. - Check if what already...
- [ ] Add [`git reflog` documentation](https://www.atlassian.com/git/tutorials/rewriting-history/git-reflog) - Write about force pushing (Add note: changes history and can cause a lot of problems)
- [ ] Add commands from issue #70. - [ ] Add `git fsck`
- [ ] Add `--author=""` to `git log` ([Ref article](https://www.atlassian.com/git/tutorials/git-log)) - [ ] Add [pretty formats](https://git-scm.com/docs/pretty-formats) to - Can be used by multiple commands? - Eg: `git log --pretty="format: %h...
- [ ] Add the `-A` option to `git commit` and note the difference between `-a` and `-A`. - [10 Must Know Git Commands That Almost Nobody Knows](https://blog.webdevsimplified.com/2021-10/advanced-git-commands)
- [ ] Add directory option to `git clone`. - Eg: `git clone .git ` or `git clone .git .` (Same directory, will not create a new directory to put...
- [ ] Changing the default Git editor. - `git config --global core.editor ""` - VS Code: `git config --global core.editor "code --wait"` ([Article](https://koenwoortman.com/git-visual-studio-code-as-editor)) - Others: ([Article](https://koenwoortman.com/git-change-default-editor))
- [ ] Add info about [`git tag`](https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag). - [ ] [Pushing a tag to a remote repository](https://stackoverflow.com/a/5195913/11958552) - [ ] [Deleting Local and Remote Tags](https://devconnected.com/how-to-delete-local-and-remote-tags-on-git) - [ ] [Git...