Git Commands
Git Commands Examples & Blog Posts: Includes tips and examples for using Git, written by a Microsoft SQL Server Database Admin.
-
Git Log by Author
Filter git log by author, why anchoring with $ returns nothing, and counting commits.
-
Git Log Command Examples
Git log is an essential command when working with git version control. It allows you to see the history of a repository, including details about each commit like the author, date, and commit message. It lets you know what’s changed, when it changed and by who. In this post I’m sharing some examples of using […]
-
Git Log One Line
How to get a one-line git log, with the graph, aliases, dates and authors.
-
How to Install Oh My Posh on Windows
📜Part of the PowerShell Complete Guide, every PowerShell post on this site, grouped by the job you are doing. Oh My Posh is a prompt theme engine: it turns your PowerShell prompt into one that shows the folder, the Git branch and status, whether the last command failed, and more. To set it up on […]
-
How to Install Posh-Git on Windows With Chocolatey or Install-Module
Install posh-git on Windows with choco install poshgit or Install-Module posh-git, then see the Git branch and status right in your PowerShell prompt.
-
Change Git Remote URL from HTTPS to SSH (git remote set-url)
Run git remote set-url origin git@github.com:USER/REPO.git, then git remote -v to confirm. Where to find the SSH URL on GitHub, GitLab or Bitbucket, and how to test it.
-
Setting Up SSH Keys in WSL for GitHub and Bitbucket
Setting up SSH keys on Windows is generally done via OpenSSL or Putty. We can set this up and have quick authentication to places like GitHub or Bitbucket…
-
How to Install Git on Windows
This guide walks you through installing Git, the version control system, on a Windows computer.