Skip to content

Instantly share code, notes, and snippets.

@khalidabuhakmeh
khalidabuhakmeh / Dockerfile
Last active October 24, 2023 20:59
JetBrains Rider / Gateway Container
FROM mcr.microsoft.com/dotnet/sdk:6.0
# SSHD port
EXPOSE 2222
ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8
RUN apt-get update && apt-get install -y apt-utils apt-transport-https
@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