Overview Earlier today, I added a great feature to my builds whereby I create a new BuildVersion.json file containing the latest commit and the date and time of the build.…
Turning a Folder into a Git Repository
Introduction Version control is fundamental to modern software development, allowing developers to track changes, collaborate efficiently, and manage their projects effectively. Git, one of the most popular version control systems,…
Keeping Your Git Repository Tidy: The git clean Command
While Git excels at tracking code modifications, it's crucial to maintain a clean and organised repository to ensure efficient workflows and avoid potential conflicts. This is where the git clean…
Update your GIT Repositories
The git remote update command is a useful tool for keeping your local repository up-to-date with the latest changes from remote repositories. It fetches the latest branches and updates the…
Resetting a Git Repository Branch
Introduction I have a problem. Well, I have several, but this one is that I keep pushing changes into my main branches instead of creating a feature branch. I don't…
Git Merge v Rebase
Git Rebase and Git Merge are two different approaches for integrating changes from one branch into another in Git, each with its use cases and implications: Git Rebase Process: Rebase…
Git Command List
Introduction Git, a distributed version control system, is an essential tool for modern software development. This guide provides a comprehensive list of Git commands, categorized for easy understanding and quick…
Fix incorrect Git Comments
Introduction In software development, using Git for version control is ubiquitous. However, even the most seasoned developers can sometimes make a typo or leave out crucial information in a commit…
Pruning your Git Repository
Introduction If you are using Git for your source control, maintaining an organized and efficient repository is crucial for smooth project management. This is where git prune comes into play.…
Merging, Stashing and Reverting in Git
Introduction Building on the basics of Git, this post dives into three advanced commands: git rebase, git stash, and git reset. These commands enhance your Git toolkit, offering more sophisticated…