Skip to content

Instantly share code, notes, and snippets.

View romch007's full-sized avatar
🐱

Romain Chardiny romch007

🐱
  • France
  • 09:45 (UTC +02:00)
View GitHub Profile
@romch007
romch007 / Dockerfile
Created February 26, 2021 10:43
AdonisJS v5 Dockerfile
FROM node:lts-alpine AS builder
WORKDIR /builder
COPY package.json yarn.lock ./
RUN apk update && apk add git
RUN yarn install --frozen-lockfile
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream