Skip to content

Instantly share code, notes, and snippets.

View rcalxrc08's full-sized avatar

Nicola rcalxrc08

View GitHub Profile
@rcalxrc08
rcalxrc08 / git_submodules.md
Created April 24, 2018 11:56 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:

  • You can separate the code into different repositories.
@rcalxrc08
rcalxrc08 / Plot_Examples.md
Created March 14, 2018 13:39 — forked from gizmaa/Plot_Examples.md
Various Julia plotting examples using PyPlot
@rcalxrc08
rcalxrc08 / gist:80a4b02c722c8b8819022dc7112122d4
Created November 5, 2017 17:51 — forked from CristinaSolana/gist:1885435
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