Use GitHub Repo to Host Images
GitHub remains one of the most reliable repository website for code, but we can also utilize its storage capability to host images for our website. In this tutorial, we are going to use a image upload tool and set up custom domain for the repo to enable pretty link for our images.
Remove Pushed Files in .gitignore
We use .gitignore file to untrack certain folder and/or files to the remote repository. However sometimes you have some files already pushed to your remote repository. Now you want to only keep them locally, so here is how to remove them from the remote repository.
Merge Git Branch without Fast Forward
By default, git will use fast forward when merging a branch. The problem with fast forward is the branch information will be lost after deletion. However, if we specifically forbid the fast forward mode, a new commit will occur with the branch information.