Posted 8 months ago. Visible to the public. Linked content.
Git shortcut to checkout recent branches
If you have
fzf
Archive
installed, you may add an alias such as this to your ~/.bashrc
:
Copyalias recent-branch="git for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/ | fzf | sed 's/\* //g' | xargs -I '{}' git checkout {}"
Now whenever you want to switch back and forth between your most recent branches, type recent-branch
, select one and press enter.
Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for unsupported versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2).