An EmmTi Blog

An EmmTi Blog

Follow
Follow
home
Tag

snippets

#snippets

More content

Read more stories on Hashnode


Articles with this tag

Generate a git patch for a specific commit

Sep 13, 20171 min read16 views

I seem to be coming back to this set of directives whenever I need to apply a patch. Thought I'd keep it somewhere handy. ...

Generate a git patch for a specific commit

Get (Git) the last commit files into a zip file with folder structure

Feb 9, 20161 min read36 views

This is a handy command when working with Git. git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT HEAD~1 HEAD | xargs tar -rf...

Get (Git) the last commit files into a zip file with folder structure

T-SQL for restoring a database

Oct 14, 20152 min read36 views

Helper script for myself ยท Bits and pieces of SQL code were gathered for my own use when restoring a database. Best used when back-porting data. Posted...

T-SQL for restoring a database