By default, when you clone a GutHub repository, you clone the “master” (or sometimes “main”) branch as well as all the other branches in the repository. However, there will undoubtably be a situation where you only want to make changes to one branch of the repository. The following command clones the repo and checks out… Continue reading Clone specific GitHub repository branch
Category: Tips and Tricks
Reset Pi-Hole Web GUI Admin Password Inside Docker
Forgetting a password happens to all of us, well perhaps me especially! Fortunately there is an easy way to reset your password. Follow the steps below to reset! If you are running your Pi-Hole instance in a docker container (like I do) you will have to run the following command: This will open a bash… Continue reading Reset Pi-Hole Web GUI Admin Password Inside Docker
Easily clone GitHub repository to different folder
By default, cloning a GitHub repository using the “git clone” command will put the files into a new folder with the same name as the repository. As you can imagine, there is probably situations where you would want to clone the repo into a different location. To achieve this, simply modify the command like so:… Continue reading Easily clone GitHub repository to different folder