Skip to content

Instantly share code, notes, and snippets.

View PhilipOakley's full-sized avatar

Philip Oakley PhilipOakley

  • Glasgow, Scotland
View GitHub Profile
# Steps to reproduce the extended example from
# http://stackoverflow.com/q/39144006/1468366
git init .
echo a > txt
git add txt
git commit -m a
echo a > txt; git commit -a -m a
echo b > txt; git commit -a -m b
git checkout -b side :/a
@PhilipOakley
PhilipOakley / git-sdk-32-compile-msgs
Created March 27, 2015 20:13
Clone & compile messages for git-sdk-32 on Win XP
Initialized empty Git repository in C:/git-sdk-32/usr/src/MINGW-packages/.git/
Initialized empty Git repository in C:/git-sdk-32/usr/src/MSYS2-packages/.git/
Initialized empty Git repository in C:/git-sdk-32/usr/src/build-extra/.git/
Cloning into 'git'...
remote: Counting objects: 210455, done.
Receiving objects: 100% (210455/210455), 66.17 MiB | 76.00 KiB/s, done.
Resolving deltas: 100% (154048/154048), done.
remote: Total 210455 (delta 0), reused 0 (delta 0), pack-reused 210455
Checking connectivity... done.
Checking out files: 100% (2783/2783), done.