- Define your organization and project at the $organization variable, example:
organization="google/gemini"
- Install and configure the Azure DevOps CLI, Learn.Microsoft.com.
- Execute the file in your repository folder.
$ git-push
What's the target branch? [develop, homolog, main] -> develop
enumerating objects: 25, done.
Counting objects: 100% (25/25), done.
Delta compression using up to 12 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (13/13), 956 bytes | 956.00 KiB/s, done.
Total 13 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Analyzing objects... (13/13) (10 ms)
remote: Validating commits... (1/1) done (0 ms)
remote: Storing packfile... done (63 ms)
remote: Storing index... done (49 ms)
To ssh.dev.azure.com:v3/ORGANIZATION/PROJECT/REPOSITORY
* [new branch] bug/98993 -> bug/98993
Branch 'bug/98993' set up to track remote branch 'bug/98993' from 'origin'.
"https://dev.azure.com/ORGANIZATION/PROJECT/_git/REPOSITORY/pullrequest/15572"
To auto-link work items you can follow the pattern "*/work-item-id", examples:
feature/43229
bug/98993
help-me/23433