Summary
In this chapter, you saw ways to improve how you work with Git in WSL. You saw how to configure Git Credential Manager for Windows to reuse saved Git credentials from Windows in WSL and to prompt you in Windows when new Git credentials are needed. After this, you saw a range of options for viewing Git history, with a discussion of their pros and cons to enable you to pick the right approach for you.
In the rest of the chapter, you saw how to work with JSON data in WSL, initially by diving into jq
and the JSON capabilities of PowerShell. With this background, you then saw some examples of working with JSON through deployments using az
and kubectl
. As well as covering scenarios that you may face with each of these CLIs, the examples demonstrated techniques that can be applied to other CLIs (or APIs) that provide JSON data. Being able to work effectively with JSON data gives you powerful capabilities that you can use in your scripts to save you time.
This is the final chapter...