In this episode of Syntax, Scott and Wes talk about Git fundamentals \u2014 what it is, why you need it, best practices, and more!
Sentry - SponsorIf you want to know what\u2019s happening with your errors, track them with\xa0Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting\xa0Sentry.io\xa0and using the coupon code \u201ctastytreat\u201d.
Freshbooks - SponsorGet a 30 day free trial of Freshbooks at\xa0freshbooks.com/syntax\xa0and put SYNTAX in the \u201cHow did you hear about us?\u201d section.
Show Notes03:12 - What is Git?
04:16 - Why do you need it?
06:31 - UI vs command line
09:03 - Commands 101
init
.gitignore
\xa0file is key right off the batadd
add -p
\xa0- quick review of all the changes you\u2019ve madecommit
push
pull
clone
checkout
merge
fetch
stash
fork
44:25 - Common issues
git rm -r
alias gri="git ls-files --ignored --exclude-standard | xargs -0 git rm -r"
49:10 - Git clients