• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Home
  • Blog
  • Search

Kevin Dees

Full-Stack PHP Development

  • Twitter
  • Github
  • LinkedIn
You are here: Home / Archives for Git

Git

How to Rename the *Master* Branch to *Main* in Git & GitHub

December 17, 2020 by Kevin Leave a Comment

black high trees under white and black sky at golden hour

In this post we will cover renaming the branch master to main in Git. Before renaming your master branch to main in git, keep in mind anywhere you are using the master branch should also be updated.

Filed Under: Git, Servers, Tips, Web

Ignoring .git and hidden files when zip archiving on macOS using the command line

August 28, 2019 by Kevin Leave a Comment

macOS click-and-point file and folder archiving is limited. Often when I need to archive a code project folder that has GIT version control files and other assets I do not want to be zipped. For such a task click-and-point falls short but the command line gets the job done.

Filed Under: Git, Mac, Web

Footer

Get Dare To Code

Get the latest on full-stack PHP development in your inbox with a bi-weekly lesson from Kevin Dees.

Copyright © 2021 · Kevin Dees · Log in