How To Code Well

131 - 10 Git branching good practice tips


Listen Later

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.
    12. 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

      ...more
      View all episodesView all episodes
      Download on the App Store

      How To Code WellBy Peter Fisher

      • 5
      • 5
      • 5
      • 5
      • 5

      5

      11 ratings


      More shows like How To Code Well

      View all
      The Laravel Podcast by Taylor Otwell, Matt Stauffer

      The Laravel Podcast

      59 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      628 Listeners

      Timcast IRL by Timcast Media

      Timcast IRL

      7,393 Listeners