Joined January 2016
·
Posted to
GitHub: checkout a pull request as a branch
over 1 year
ago
You can also check out this tip from GitHub on doing a similar thing. https://help.github.com/articles/checking-out-pull-requests-locally/
The 'hub' CLI tool from GitHub https://hub.github.com can also help.
Posted to
smux: SSH with auto reconnect & tmux, a mosh replacement
over 1 year
ago
@gpakosz Personally rather than testing with a tmux attach || tmux new I prefer to use the -A option to tmux new-session to attach if a session exists or create one otherwise through tmux itself. This also lets me tweak the session name to include the host it was started from in case I had a lot of different places I was coming from (though you don't want to include the FQDN in case somebody tries to jump back through using your agent session).
Keep in mind if you use
brew edit vim
you'll also need to usebrew install -s vim
in order to build from source (possibly after abrew uninstall vim
to get rid of the bottle, otherwise you ALWAYS get thebottled
version which does NOT have+clipboard
.