Skip to content

Instantly share code, notes, and snippets.

View hofnerb's full-sized avatar
💭
I may be slow to respond.

Benjamin Hofner hofnerb

💭
I may be slow to respond.
View GitHub Profile
@hofnerb
hofnerb / Overview.md
Last active August 29, 2015 14:20
Overview: git HowTos
@hofnerb
hofnerb / sparse_clones.md
Last active February 6, 2024 22:07
Make sparse clone
git init <repo>
cd <repo>
git remote add -f origin <url>

This creates an empty repository with your remote, and fetches all objects but doesn't check them out. Then do:

git config core.sparseCheckout true
@friendly
friendly / migrate-svn-git.md
Last active September 18, 2017 21:00
Migration path for R packages from svn/R-Forge to git/github

Migrating SVN/R-Forge packages to git/github

Migration \Mi*gra"tion, n. [L. migratio: cf. F. migration]

1: The movement of persons or groups from one country or locality to another.

2: The passage of software developers from one platform, language or environment to another for the purpose of feeding, breeding or enhanced health of their offspring.

Context