From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
-
Switch to the main branch, usually 'develop':
git checkout develop -
Get a list of fully merged branches:
| import { useMemo } from 'react' | |
| import { ApolloClient, InMemoryCache, from } from '@apollo/client' | |
| import merge from 'deepmerge' | |
| import isEqual from 'lodash/isEqual' | |
| import { | |
| httpLink, | |
| onErrorLink, | |
| wooSessionMiddleware, | |
| wooSessionAfterware, | |
| } from 'lib/apollo/middleware' |
| // @ts-check | |
| "use strict" | |
| /** | |
| * Set up datadog tracing. This should be called first, so Datadog can hook | |
| * all the other dependencies like `http`. | |
| */ | |
| function setUpDatadogTracing() { | |
| const { tracer: Tracer } = require('dd-trace') | |
| const tracer = Tracer.init({ |
| import { ConfigInterface, useSWRInfinite } from 'swr' | |
| import { useMemo, useCallback, useRef } from 'react' | |
| import last from 'lodash.last' | |
| import get from 'lodash.get' | |
| type PageKeyMaker<Page, Key extends any[]> = ( | |
| index: number, | |
| previousPageData?: Page | |
| /** | |
| * Mutable ref object. Set this to `true` before the request and `false` afterwards if the request is fetching more. |
| import { | |
| ApolloClient, | |
| InMemoryCache, | |
| HttpLink, | |
| ApolloLink, | |
| from, | |
| } from "@apollo/client"; | |
| import fetch from "cross-fetch"; | |
| import { setContext } from "@apollo/client/link/context"; |
| // roughish AMP attribute types for JSX/TypeScript | |
| // Source: https://playground.amp.dev/amphtml-hint.json | |
| // https://github.com/Microsoft/TypeScript/issues/15449 | |
| // https://stackoverflow.com/questions/50585952/typescript-and-google-amp-property-amp-img-does-not-exist-on-type-jsx-intrin | |
| import * as React from 'react'; | |
| // why null ? | |
| type _ANY = any; | |
| type _ANYS = any; | |
| declare module 'react' { | |
| interface HTMLAttributes<T> { |
| // import ..... | |
| const inputUploadFile: CSSProperties = { | |
| display: 'none', | |
| }; | |
| const buttonUploadFile: CSSProperties = { | |
| margin: 8, | |
| }; |
From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
Switch to the main branch, usually 'develop':
git checkout develop
Get a list of fully merged branches:
| Country | Alpha-2 code | Alpha-3 code | Numeric code | Latitude (average) | Longitude (average) | |
|---|---|---|---|---|---|---|
| Afghanistan | AF | AFG | 4 | 33 | 65 | |
| Åland Islands | AX | ALA | 248 | 60.116667 | 19.9 | |
| Albania | AL | ALB | 8 | 41 | 20 | |
| Algeria | DZ | DZA | 12 | 28 | 3 | |
| American Samoa | AS | ASM | 16 | -14.3333 | -170 | |
| Andorra | AD | AND | 20 | 42.5 | 1.6 | |
| Angola | AO | AGO | 24 | -12.5 | 18.5 | |
| Anguilla | AI | AIA | 660 | 18.25 | -63.1667 | |
| Antarctica | AQ | ATA | 10 | -90 | 0 |
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.