Twitter | Search | |
Wes Bos
🔥 Use `git checkout -` to quickly jump back to your last git branch
Reply Retweet Like More
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_
well well I've got a whole course on it →
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
Wes Bos 7 Jun 17
Replying to @wesbos
👆🏻 And this works for changing directories too
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
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
𝚂𝚌𝚘𝚝𝚝 𝚂𝚙𝚎𝚗𝚌𝚎❗🦄👨‍💻 7 Jun 17
Replying to @wesbos
That is 👌 I'll be able to use that on Windows with git bash/cmder too right?
Reply Retweet Like
Rich Donnellan 7 Jun 17
Replying to @wesbos
No need to even type `cd`. Just use `-`!
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @RichDonnellan
on zsh, yep!
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @ScottDevTweets
I think so - but you can now run zsh on windows with WSL
Reply Retweet Like
Salami Olakunle 7 Jun 17
Replying to @kmills006 @wesbos
"agnoster" i think
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @kleinfreund
Times are tough
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @faety_sal @kmills006
cobalt2 -
Reply Retweet Like
天m33x0火 7 Jun 17
Replying to @benjaminspak @wesbos
I think it's xterm with zsh and a theme "agnoster"
Reply Retweet Like
Wes Bos 7 Jun 17
Replying to @Afr0x0 @benjaminspak
Close - details at
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