GIT

MacOS: Git error: xcrun …

Recently I tried to run the git branch command on a local repository. While it worked just the other day, now I’m receiving this error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun The …

Searching GIT Logs for …

If you’re concerned or curious about a certain value being changed in your GIT repository, the GIT logs are a great place to start. Using the git log command allows you to search for values in individual commits and returns all of the commits with an instance of that value. For example, …

Testing a Pull Request …

Make a temporary directory (optional) mkdir <temp folder> && cd <temp folder> Initialize the folder with a .git repo (optional) git init Fetch the pull request, creating a new branch git fetch <git remote url> pull/<pull request ID>/head:<new local branch name> …