Today I Learned
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post.
0 TILs and counting...
- Accessing a Lost Commit
- Amend Author Of Previous Commit
- Caching Credentials
- Checkout Old Version Of A File
- Checkout Previous Branch
- Clean Out All Local Branches
- Clean Up Old Remote Tracking References
- Delete All Untracked Files
- Determine The Hash Id For A Blob
- Dry Runs in Git
- Excluding Files Locally
- Find The Initial Commit
- Grab A Single File From A Stash
- Grep Over Commit Messages
- Ignore Changes To A Tracked File
- Intent To Add
- Interactively Unstage Changes
- Last Commit A File Appeared In
- List Filenames Without The Diffs
- List Most Git Commands
- List Untracked Files
- Move The Latest Commit To A New Branch
- Reference A Commit Via Commit Message Pattern Matching
- Renaming A Branch
- Resetting A Reset
- Single Key Presses in Interactive Mode
- Staging Changes Within Vim
- Staging Stashes Interactively
- Stashing Only Unstaged Changes
- Stashing Untracked Files
- Untrack A Directory Of Files Without Deleting
- Untrack A File Without Deleting It
- Verbose Commit Message
- What Is The Current Branch?
- Whitespace Warnings
- Character Codes from Keyboard Listeners
- Create An Array Containing 1 To N
- Enable ES7 Transforms With react-rails
- Random Cannot Be Seeded
- Splat Arguments To A Function
- Throttling A Function Call
- Transforming ES6 and JSX With Babel 6
- Truthiness of Integer Arrays
I shamelessly stole this idea from thoughtbot/til.
© 2015-2016 Mihai Popescu
This repository is licensed under the MIT license. See LICENSE for
details.