Artwork

内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

The Git Episode ⑂

45:02
 
分享
 

Manage episode 247342056 series 1900125
内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Git-ing things done.

A weekly podcast about programming, development, and design.

I'm John, I run a design and development firm that builds apps and websites.

I'm joined by JP:

Hi everyone! I'm a full stack software engineer at a real estate tech start up.

Catch up / What's today's episode about?

  • John: California is on fire 🔥Making my job — complicated

  • Let's talk about git!

  • I recently watched this quick 4 hour course which is going to be my pick: https://frontendmasters.com/courses/git-in-depth/

  • Let's assume that listeners use git daily

Teaching / Learning section

Git at a very high level

  • Version Control
  • Major, major oversimplification: key value store
    • key = hash of data
    • value = data
  • You use the key to retrieve your data (i.e. git checkout is just moving the pointer to the particular commit hash)
  • Three (4 if you count remote) areas where code lives
    • Working: "untracked" files - this is your playground or scratch pad, current "working area"
    • Staging: files that will be part of your next commit. this is like saying, 'hey, I want to add these files and changes to my repo as they are no longer just scratchpad thoughts'
      • this is how git knows what changed between last commit and your current commit
    • Repo: files that git knows about. the repo contains all of your commits
    • Remote: Github, bitbucket, etc

What does your personal / work git workflow look like?

i.e. walk me through how you might use git when you implement a new feature

this can be a longer section where we talk about git / github as it relates to working on a product

  • How often you commit
  • What your commit messages look like
  • PR etiquette
  • Git Squash vs Leaving all the history

Goodies + TIL section

Git Goodie #1: --no-pager

  • Have you ever done a git diff or a git branch and your terminal opens up a "new page"? You can throw in the --no-pager flag and it will display the contents in the same window instead

Git TIL: git commit without the -m flag

  • I learned that the -m flag is only for short commit messages

John: Git Goodie — git stash

  • I only learned this one a year ago, incredibly useful.
  • you can name your stashes!
  • pop + apply
  • git stash list
  continue reading

78集单集

Artwork

The Git Episode ⑂

iteration

113 subscribers

published

icon分享
 
Manage episode 247342056 series 1900125
内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Git-ing things done.

A weekly podcast about programming, development, and design.

I'm John, I run a design and development firm that builds apps and websites.

I'm joined by JP:

Hi everyone! I'm a full stack software engineer at a real estate tech start up.

Catch up / What's today's episode about?

  • John: California is on fire 🔥Making my job — complicated

  • Let's talk about git!

  • I recently watched this quick 4 hour course which is going to be my pick: https://frontendmasters.com/courses/git-in-depth/

  • Let's assume that listeners use git daily

Teaching / Learning section

Git at a very high level

  • Version Control
  • Major, major oversimplification: key value store
    • key = hash of data
    • value = data
  • You use the key to retrieve your data (i.e. git checkout is just moving the pointer to the particular commit hash)
  • Three (4 if you count remote) areas where code lives
    • Working: "untracked" files - this is your playground or scratch pad, current "working area"
    • Staging: files that will be part of your next commit. this is like saying, 'hey, I want to add these files and changes to my repo as they are no longer just scratchpad thoughts'
      • this is how git knows what changed between last commit and your current commit
    • Repo: files that git knows about. the repo contains all of your commits
    • Remote: Github, bitbucket, etc

What does your personal / work git workflow look like?

i.e. walk me through how you might use git when you implement a new feature

this can be a longer section where we talk about git / github as it relates to working on a product

  • How often you commit
  • What your commit messages look like
  • PR etiquette
  • Git Squash vs Leaving all the history

Goodies + TIL section

Git Goodie #1: --no-pager

  • Have you ever done a git diff or a git branch and your terminal opens up a "new page"? You can throw in the --no-pager flag and it will display the contents in the same window instead

Git TIL: git commit without the -m flag

  • I learned that the -m flag is only for short commit messages

John: Git Goodie — git stash

  • I only learned this one a year ago, incredibly useful.
  • you can name your stashes!
  • pop + apply
  • git stash list
  continue reading

78集单集

Semua episod

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

边探索边听这个节目
播放