Git
How to Setup Repositories in Azure Devops
DevOps teams handle a complex array of tools—such as Git, Jira, and CI/CD platforms—each playing a crucial role. However, managing these tools can lead to chaos due to constant context switching. Moreover, introducing a cloud like Azure, with its diverse APIs, can further complicate the creation of
How to Checkout Git Tags
Version control systems like Git provide developers powerful tools to manage codebases effectively. One essential feature of Git is the ability to create tags, which refer to specific points in your project's repository history. Tags are commonly used to mark releases, milestones, or significant changes in the codebase,
How to avoid merge commits when syncing a fork
Whenever you work on open source projects, you usually maintain your copy (a fork) of the original codebase. To propose changes, you open up a Pull Request (PR). After you create a PR, there are chances that during its review process, commits will be made to the original codebase, which
How to create and apply a Git patch file with git diff and git apply commands
An engineer just joined their first company. While debugging an issue, their co-worker shared a patch (also known as diff) file of changes to apply to their local branch of the same Git repository. The engineer could go line by line to retype and apply the changes, but doing so,