Mastering Git - Getting to Confident

© 2012 - 2015 thoughtbot, inc. Upcase, the design of a robot, and thoughtbot are registered trademarks of thoughtbot, inc.


This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/git-getting-to-confident

@christoomey Have you guys considered adding git stash pop and git stash drop to the show notes? Love the video, already feeling more confident in git.

Hey @thedanotto, thanks for the question. My thinking with the course was that there is already a lot of good material out there focused on the main workflows and functionality in git, including git stash. With Mastering Git I wanted to present the harder to find aspects that I’ve learned over time, and have found to be useful in our work here at thoughtbot.

Hello. I know its old conversation, but maybe someone will notice. I have a question, why these red stars never shown up in my terminal. Even if I do exactly what is showing in the video?

You’re right, that’s not default behavior. You have to configure that part, unfortunately.

The company’s minimized dotfiles are on Github, this in particular is probably the bit you want: https://github.com/thoughtbot/dotfiles/blob/master/zsh/configs/prompt.zsh. (I’d try Chris Toomey’s dotfiles if you want it to look the same.)

An easier fix to not have to worry about making a nice zsh config is https://ohmyz.sh. You can browse the themes on their site; each one configures the prompt slightly differently.

Hope that helps!

I’m not sure if I’m completely missing something here or not, but how do you actually implement these themes and other such files that are accessible in this lesson?

I apologize if this is a silly question, I’m just having a hard time figuring this out.

Thanks in advance for any help!

1 Like

I’m having a similarly hard time figuring this out. Did you figure this out?

Thanks!

You can install the nice zsh theme as a ohmysh theme. It worked for me anyway and the instructions are here custom theme. Just note what happens to your existing .zshrc and you may need to paste some lines from your old .zshrc into the new one that ohmyzsh generates. I had to do that for my version manager asdf.