Mark Andrews
  • Home
  • Creative
  • Contact

git

A collection of 4 posts
git

git ignore files but only on the local repo

Naturally untracked files can be added to the .gitignore, and there are workarounds to update the history to remove files from tracking and .gitnore. I had to update a config file, to include a setting that I only wanted on my machine. I did not want to be able to
16 Oct 2024 1 min read
Azure

Clone all Devops repos

Powershell to clone all repos in Devops project
08 Jul 2019
Azure

Azure cli access to Devops

Script access to Azure Devops repos/pipelines/boards
08 Jul 2019
git

Git tips

How do I modify a specific commit?I have the following commit history: HEAD HEAD~ HEAD~2 HEAD~3 git commit --amend modifies the current HEAD commit. But how do I modify HEAD~3?Stack OverflowSam Liao append ^ to the commit hash Store GitHub PAT in ~/.git-credentials, content: https://<
21 Jan 2019 2 min read
Page 1 of 1
Mark Andrews © 2025
  • Privacy
Powered by Ghost