Azure Cloud Shell

Windows PowerShell or Linux Bash shells are available. Azure CLI is supported out of the box.

Azure CLI does not output PowerShell objects! Don't be tempted to pipe into Where-Object – use a CLI JMESPath query instead.

To cd to cloud storage:

  • PowerShell: cd $HOME/clouddrive/
  • Bash: cd clouddrive

My preferred defaults:

git config --global push.default simple
git config --global core.editor "/usr/bin/vim"


  1. In Cloud Shell:

    git config --global --unset credential.helper
    git config --global credential.helper store
  2. Next time you use git to talk to GitHub, Cloud Shell will prompt you for a username and password (as usual).

    • Use your normal username

    • Don't put in your password (yet)

  3. Create a Github personal access token. Set it to repo access scope only.

  4. Enter the personal access token as password