Artwork

Nội dung được cung cấp bởi iteration podcast, John Jacob, and JP Sio - Web Developers. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được iteration podcast, John Jacob, and JP Sio - Web Developers hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

The Git Episode ⑂

45:02
 
Chia sẻ
 

Manage episode 247342056 series 1900125
Nội dung được cung cấp bởi iteration podcast, John Jacob, and JP Sio - Web Developers. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được iteration podcast, John Jacob, and JP Sio - Web Developers hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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 tập

Artwork

The Git Episode ⑂

iteration

109 subscribers

published

iconChia sẻ
 
Manage episode 247342056 series 1900125
Nội dung được cung cấp bởi iteration podcast, John Jacob, and JP Sio - Web Developers. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được iteration podcast, John Jacob, and JP Sio - Web Developers hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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 tập

Tất cả các tập

×
 
Loading …

Chào mừng bạn đến với Player FM!

Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.

 

Hướng dẫn sử dụng nhanh