See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
| #!/bin/bash | |
| rm -rf ~/Downloads/MSTeams | |
| mkdir -p "~/Downloads/MSTeams" | |
| touch "~/Downloads/MSTeams/$(date +%s).purge" |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
| brew install miniforge | |
| conda init "$(basename "${SHELL}")" | |
| conda info | |
| # platform : osx-arm64 |
Git worktree it a git feature which allows you to checkout a single repository into multiple locations on your filesystem. It has a few rough edges, but if you follow a few simple rules it can be make context switching much easier than git's other mechanisms, such as stashing or switching branches. My folder structure will usually look something like this:
MyRepo/
master/ ← The original checkout, using something like git clone <repo url> master
brew install azure-cliaz extension add --name azure-devopsbrew install azure-cliaz extension add --name azure-devops| " ┌─────────────────────────────────────────────────────────────────────────┐ | |
| " │ General Setup │ | |
| " └─────────────────────────────────────────────────────────────────────────┘ | |
| set history=1000 | |
| set timeoutlen=1000 | |
| set clipboard+=unnamed | |
| set nrformats= | |
| set scrolloff=8 | |
| set visualbell | |
| set numbers |
| import React, { createContext, useContext, useState, useEffect } from "react" | |
| type Props = { | |
| children: React.ReactNode | |
| } | |
| type Context = { | |
| count: number | |
| increment: () => void | |
| } |
| import type { NextApiResponse } from "next"; | |
| export type ApiResponse = ApiSuccessResponse | ApiErrorResponse; | |
| export interface ApiSuccessResponse<T = { [key: string]: any }> { | |
| data: T; | |
| } | |
| export interface ApiErrorResponse { | |
| code: |