brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| import {MDXProvider} from '@mdx-js/react'; | |
| import {MDXComponents} from 'components/MDX/MDXComponents'; | |
| import {Toc} from 'components/Toc/Toc'; | |
| import * as React from 'react'; | |
| export interface MarkdownProps<Frontmatter> { | |
| meta: Frontmatter; | |
| children?: React.ReactNode; | |
| } |
| #!/bin/bash | |
| # This will find you the merge commit from a commit hash, and print the log of it. | |
| # Use this when you want to know about the merged branch which includes that commit. | |
| # | |
| # 1. Move this file to ~/.gitsh/ | |
| # 2. Add directory path($YOUR_HOME_PATH/.gitsh) to environment variable file | |
| # (like ~/.bash_profile or ~/.zshrc) | |
| # (This would be like 'export PATH=${PATH}:/Users/YOUR_HOME_PATH/.gitsh') | |
| # 3. chmod 0755 git-findmerge | |
| # 4. Use the command 'git findmerge COMMIT_HASH' |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"