Skip to content

Instantly share code, notes, and snippets.

View jkleckner's full-sized avatar

Jim Kleckner jkleckner

View GitHub Profile
@gitaarik
gitaarik / git_submodules.md
Last active July 28, 2024 23:07
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 usecases of submodules:

  • Separate big codebases into multiple repositories.
@tnbred
tnbred / gist:867111b8e1e600fa588e
Last active August 29, 2015 14:05
Install spark 1.0.2 with updated guava version on EMR
#!/usr/bin/ruby
require 'json'
require 'emr/common'
require 'digest'
require 'socket'
def run(cmd)
if ! system(cmd) then
raise "Command failed: #{cmd}"
@ThaJay
ThaJay / git_submodules.md
Last active September 21, 2023 08:57 — 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.