brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| // the provider component (I usually have a folder called 'contexts') | |
| import React, { useState, useEffect, createContext } from 'react' | |
| export const FancyContext = createContext({ fancyThing: null, setFancyThing: () => {} }) | |
| export function FancyProvider({ children }) { | |
| const [fancy, setFancy] = useState({}) | |
| useEffect(() => { | |
| // get the data you want, however you want (this is pseudocode) |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"