Artwork

Content provided by Peter Fisher. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Peter Fisher or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

131 - 10 Git branching good practice tips

49:09
 
Share
 

Manage episode 304652244 series 2674787
Content provided by Peter Fisher. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Peter Fisher or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

Let's talk about 10 good practice tips when using Git.

Podcast Notes:

PHP News: Swoole is a PHP extension that has been forked due to on going security concerns. The current version of Swoole downloads a compressed file from the business Swoole site which is NOT GOOD! This file is a gzip file which is downloaded to your application.

Apparently many attempts were made to raise this concern with the current maintainer of Swoole but nothing happened. After these concerns were un-heard the PHP community decided to fork Swoole and remove the ability to run remote code from the Swoole business site.

The forked alternative is called Open Swoole.

Read more about it here: https://news-web.php.net/php.pecl.dev/17446

Theres a new Apple event on the 18th of October.

  • M1X Mac book pro. 14 + 16 inch
  • Mac mini
  • AirPods Will the Mac Book Pro have 64 GB of ram, will I buy a new Mac?

10 Git Branch good practices

  1. Run code audits before merging into a work flow branch to prevent pipeline blockages
  2. Put config into a separate branch to the feature
  3. Use a GUI to inspect right, left, middle merges
  4. Communicate and talk through conflicts with other developers
  5. Don’t squash commits. History is good
  6. Regularly merge the main branch into the feature branch
  7. Always get a team mate to review your code. Even if its the smallest code change
  8. Keep to a good branch naming convention
  9. Separate code maintenance, features and fixes into their own branches - Be aware of what other features use your code
  10. Use messaging platforms like Slack or Discord to inform your team that something has been merged. Also use this to tell your team if the code audits have failed
  11. Fix any failed code audits before doing anything else.

Kick start your tech career with Amarachi Amaechi's new book Getting Started in Tech: A guide to building a tech career

My web development courses

➡️ Learn How to build a JavaScript Tip Calculator

➡️ Learn JavaScript arrays

➡️ Learn PHP arrays

➡️ Learn Python

✉️ Get my weekly newsletter

⏰ My current live coding schedule (Times are BST)

Thursdays 20:00 = Live Podcast YouTube

Sundays 14:30 - Live coding on Twitch

  continue reading

201 episodes

Artwork
iconShare
 
Manage episode 304652244 series 2674787
Content provided by Peter Fisher. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Peter Fisher or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

Let's talk about 10 good practice tips when using Git.

Podcast Notes:

PHP News: Swoole is a PHP extension that has been forked due to on going security concerns. The current version of Swoole downloads a compressed file from the business Swoole site which is NOT GOOD! This file is a gzip file which is downloaded to your application.

Apparently many attempts were made to raise this concern with the current maintainer of Swoole but nothing happened. After these concerns were un-heard the PHP community decided to fork Swoole and remove the ability to run remote code from the Swoole business site.

The forked alternative is called Open Swoole.

Read more about it here: https://news-web.php.net/php.pecl.dev/17446

Theres a new Apple event on the 18th of October.

  • M1X Mac book pro. 14 + 16 inch
  • Mac mini
  • AirPods Will the Mac Book Pro have 64 GB of ram, will I buy a new Mac?

10 Git Branch good practices

  1. Run code audits before merging into a work flow branch to prevent pipeline blockages
  2. Put config into a separate branch to the feature
  3. Use a GUI to inspect right, left, middle merges
  4. Communicate and talk through conflicts with other developers
  5. Don’t squash commits. History is good
  6. Regularly merge the main branch into the feature branch
  7. Always get a team mate to review your code. Even if its the smallest code change
  8. Keep to a good branch naming convention
  9. Separate code maintenance, features and fixes into their own branches - Be aware of what other features use your code
  10. Use messaging platforms like Slack or Discord to inform your team that something has been merged. Also use this to tell your team if the code audits have failed
  11. Fix any failed code audits before doing anything else.

Kick start your tech career with Amarachi Amaechi's new book Getting Started in Tech: A guide to building a tech career

My web development courses

➡️ Learn How to build a JavaScript Tip Calculator

➡️ Learn JavaScript arrays

➡️ Learn PHP arrays

➡️ Learn Python

✉️ Get my weekly newsletter

⏰ My current live coding schedule (Times are BST)

Thursdays 20:00 = Live Podcast YouTube

Sundays 14:30 - Live coding on Twitch

  continue reading

201 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide