Twitter | Search | |
Wes Bos
🔥 Use `git checkout -` to quickly jump back to your last git branch
Reply Retweet Like More
Wes Bos 7 Jun 17
Replying to @wesbos
👆🏻 And this works for changing directories too
Reply Retweet Like
Wes Bos 14 Jun 17
Replying to @wesbos
I thought I wouldn't like this, but merging the last checked out branch with `git merge -` is really useful!
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @kleinfreund
Times are tough
Reply Retweet Like
Ryan Wilson-Perkin 7 Jun 17
Replying to @wesbos
You can also use this for other git commands! (on latest master branch) git checkout my-feature-branch git merge -
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @rwilsonperkin
Ohh- I didn't know that! Though I'm too afraid to merge something without typing the branch name
Reply Retweet Like
Dominic Santo 8 Jun 17
Replying to @wesbos
What terminal emulator is that? Or is it just a theme?
Reply Retweet Like
Wes Bos 8 Jun 17
Replying to @Dom_Santo94
I wrote a bit of info here →
Reply Retweet Like
Lenin 7 Jun 17
Replying to @wesbos
Your terminal prompt is one of the best I've seen. Any tips on how to customize it that way?
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @_1enin_
short answer is that it;s a theme called 'Cobalt2' for ZSH + a theme for either iTerm2 or Hyper called 'Cobalt2'
Reply Retweet Like
tommy george 7 Jun 17
Replying to @wesbos
I use an alias, because I jump around a lot, and sometimes need more than just "most recent":
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @tommygeorge
Nice! I have a git alias for that called 'latest'
Reply Retweet Like