Category Archives: Git

Adding a GitHub webhook to Django

By | October 26, 2023

Here is a neat article to follow if you are looking to use Django to respond to a GitHub webhook. https://simpleisbetterthancomplex.com/tutorial/2016/10/31/how-to-handle-github-webhooks-using-django.html

Category: Git

Git autocompletion is a must have

By | February 8, 2023

Get git autocompletion in 2 mins. Run the following commands: Step 1 Step 2 Add the following to your ~/.bash_profile file: Step 3 Apply the changes: If you don’t have permission, run: Step 4 Test

Category: Git

Important Git commands to remember

By | December 18, 2022

–help is your friend after git + <your_command> Step 1: Check your branch Step 1a: If you need to create a branch Step 1b: If you need to delete a branch Others to keep in mind Step 2: Checking your remote NB: add -v for verbose Step 3: Staging your changes Step 3a: Un-staging your… Read More »

Category: Git

invalid active developer path

By | September 21, 2019

If you are getting the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun you probably have updated to Mojave. The fix is really simple and quick. Run this command in terminal. > xcode-select –install Then test with git –version and all should be well.

Category: Git