Skip to content

Instantly share code, notes, and snippets.

@waiholiu
Last active December 9, 2021 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waiholiu/6867d1d9b547ab84fc9e5969669baccd to your computer and use it in GitHub Desktop.
Save waiholiu/6867d1d9b547ab84fc9e5969669baccd to your computer and use it in GitHub Desktop.
git config --global user.email $(Build.RequestedForEmail)
git config --global user.name $(Build.RequestedFor)
git switch $(Build.SourceBranchName)
git add -A
git commit -m "changes exported from dev"
git push https://$env:SYSTEM_ACCESSTOKEN@dev.azure.com/wai0211/TestProj/_git/Zoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment