17 Dec '17, 6pm

TIL git lets you refer to commits by finding and matching a word in the commit message… like so: https://t.co/Pa5kKLmeFR

If you’ve read thoughtbot’s Git protocol guide , you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages . It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. If you follow this protocol, or something like it, there are a few Git features that can make your interactive rebases quicker and easier. Automate your rebases Often, you’ll know before you commit something that it’s really just an extension of one of the other commits on your branch. Say I have this history: $ git log --oneline --decorate ccc3333 (HEAD, my-feature-branch) A third commit bbb2222 A second commit aaa1111 A first commit 9999999 (master) Old stuff on master One of my pull request reviewers points out a ...

Full article: https://robots.thoughtbot.com/autosquashing-git-commits#t...

Tweets

Day 16 - Ruby Advent Calendar '17 - gli - Build...

rubyflow.com 16 Dec '17, 11am

Day 16 - Ruby Advent Calendar '17 - gli - Build Awesome (Git-Like) Command Line Tools by Gerald Bauer — Today Hello, welco...

gitreaper (0.1.0): Handles heavy lifting for gi...

rubygems.org 31 Dec '17, 3am

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and then install them . Use the API ...

Here's how I used git to update my site

justinlee.sg 06 Dec '17, 3pm

Sometimes updating a static site takes a little used to. You connect to the website through sftp and slowly update every s...