News for hackers. Stuff that matters.

deragent

Re:Oh shit, git: Getting myself out of bad situations on Monday December 18, 2017 @12:21PM (#15953290)
Within 'git add -p' when you get to the hunk that you want to edit (split down to single lines), press 'e'. This will open an editor (vim in my case) which lets you edit the diff manually.

In there you can remove added lines (prefixed by '+') by removing them, and re-adding removed lines (prefixed by '-') by replacing the '-' with a space ' '.

Re:Edward Snowden’s Escape from Hong Kong [audio] on Thursday December 29, 2016 @03:21AM (#13276265)
Article in the Handelsblatt about the same time frame of Snowdens hiding in Hong-Kong: https://global.handelsblatt.com/politics/edward-snowdens-gua...