Skip to content

Instantly share code, notes, and snippets.

View qdread's full-sized avatar

Quentin Read qdread

View GitHub Profile
afrandsen / AKF_Dark.reg
Created August 12, 2019 16:32
SAS 9.4 Enhanced Editor Custom Theme
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark]
"FontName"="Lucida Console"
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark\Elements]
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark\Elements\code]
nepsilon /
Last active July 4, 2024 13:39
How to generate and apply patches with git? — First published in issue #33

How to generate and apply patches with git?

It sometimes happen you need change code on a machine from which you cannot push to the repo. You’re ready to copy/paste what diff outputs to your local working copy.

You think there must be a better way to proceed and you’re right. It’s a simple 2 steps process:

1. Generate the patch:

git diff > some-changes.patch