{"id":23972357,"url":"https://github.com/xenoinc/codedevops","last_synced_at":"2025-09-21T06:20:40.183Z","repository":{"id":44657452,"uuid":"166475966","full_name":"xenoinc/CodeDevOps","owner":"xenoinc","description":"DevOps for Git commands and Visual Studio shortcuts. This serves as the DevOps standards for Xeno Innovations software development","archived":false,"fork":false,"pushed_at":"2025-03-08T16:12:44.000Z","size":167,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T10:08:22.493Z","etag":null,"topics":["devops","git","powershell","stylecop","xeno-devops","xeno-innovations"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xenoinc.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/Roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-18T21:40:16.000Z","updated_at":"2025-03-05T15:16:28.000Z","dependencies_parsed_at":"2024-02-13T16:45:52.041Z","dependency_job_id":"655d096c-d583-4733-933c-903c9b604185","html_url":"https://github.com/xenoinc/CodeDevOps","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoinc%2FCodeDevOps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoinc%2FCodeDevOps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoinc%2FCodeDevOps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoinc%2FCodeDevOps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenoinc","download_url":"https://codeload.github.com/xenoinc/CodeDevOps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766954,"owners_count":21158356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","git","powershell","stylecop","xeno-devops","xeno-innovations"],"created_at":"2025-01-07T03:16:23.673Z","updated_at":"2025-09-21T06:20:40.177Z","avatar_url":"https://github.com/xenoinc.png","language":"PowerShell","readme":"# PowerShell DevOps\n\nXeno Innovations' DevOps (Development Operations) command line tool provides users a quick-set of **Git command helpers** and **project configs** to increase your productivity via PowerShell.\n\nThe **Git helpers** provide shortcuts for popular commands such as, `gitpull`, `gitpush`, `gitcommit`, so you don't have to remember switches. Also provides, `gitsync`, which synchronizes your current branch with `develop` (by default) or a branch of our choosing.\n\nThe `devops` command provides project configurations to ensure all projects stay aligned with the same ruleset.\n\nSince our primary focus is on projects made with Visual Studio and VS Code, the rule sets cover a wide range of C# for Xamarin/MAUI, desktop and ASP.NET Core, as well as C/C++ (including Arduino).\n\nThis project started as an internal tool used by Xeno Innovations and Suess Labs - _hence the focus on git and the default ``develop`` branch_. We'll do our best to keep things generic for the open source community.\n\n## Installation\n\n1. Download or clone the repo\n   * `CD C:\\`\n   * `git clone https://github.com/xenoinc/CodeDevOps.git BuildTools`\n2. Set your ``Path`` **Environment Variables** to your extracted folder.\n3. Enable, PowerShell Execution Policy (_see below_)\n   * `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser`\n4. Close and re-open any open command prompts\n5. _Enjoy!_\n\n\n\n## Road map\n\n* Install / update Xeno-DevOps from CLI\n* Create new project folder template\n  * Makes standard folder structure, readme, MSBuild, rules, etc.\n\n```text\n                      `.---.`             ``.---.\n                 `:ohmmNNNNNmho.     `-+osysoo+oyh:\n               .ohyo/:---:+ymNNm+ `/shy+:.`     .dm`\n             `+h+-`         .+dNNhhs:.          /Nm.\n            `ys-             `sNNd.           `oNNo`\n           `y+`             /hsdNh`         `+dNd+`\n           os`            .hh:`yNo       `:ymNh+.\n          .h-            /ms. `dd-  `./ohmdy+-`\n          :y`        ```+Nh:-:oNhosyyys+/-`\n         `+h/+oo-..    ydNmysosms:-..`\n     `:osyhd+/::--...`.dNo` :d/`         .`\n   `+hs:-`-h`         /NN+`oh:           s:\n  `yd:`   `+`         sNNhhs-           `d-\n  /Ns                 oNNm/`            oy`\n  +Nm/`            `-ohmNNh.          `oh-\n  -hNNdo:.`````.:+ydy/.:dNNNs-`     `/yo.\n   .smNNNNNNNNNNmy+-`   .smNNNNdhyyhh+-\n     `:+ossso+:-`         `:+syyyo/-`\n\n  -- Xeno Innovations --\n```\n\n## [GitSync](https://github.com/xenoinc/XenoDevOps/wiki/GitSync)\n\nSynchronizes (`merge`) your current branch with another branch; using `develop` by default.\n\n### Usage\n\nSyncing your branch with the latest develop branch.\n\n#### Xeno-DevOps Solution\n\n```powershell\n[feature/MyBranch]\u003e GitSync\nSync complete!\n```\n\n#### Old Stinky Method\n\n```powershell\n[feature-MyBranch]\u003e git checkout develop\n[develop]\u003e git pull\n[develop]\u003e git checkout feature-MyBranch\n[feature-MyBranch]\u003e git merge develop\n```\n\n## [GitCheckout](https://github.com/xenoinc/XenoDevOps/wiki/GitCheckout)\n\nChecks out your branch in the following execution order\n\n1. Attempt locally\n2. Attempt on ``origin``\n3. Fetch, then try ``origin`` again.\n\nNote: _In the future we will provide the option for a different remote_\n\n### Usage\n\n```powershell\nGitCheckout MyBranch\nGitCheckout feature/MyBranch\nGitCheckout \"feature/MyBranch\"\n```\n\n## [GitCommit](https://github.com/xenoinc/XenoDevOps/wiki/GitCommit)\n\nCommits changes with provided message. Optionally ``push``es up branch.\n\n### Usage\n\n```powershell\nGitCommit \"My message\" -push\nGitCommit \"My message\" -push\n```\n\n## [GitPrune](https://github.com/xenoinc/XenoDevOps/wiki/GitPrune)\n\nFetch and prune your repository.\n\n#### Usage\n\n```powershell\nGitPrune          ; Fetch and prune\n```\n\n### [GitPush](https://github.com/xenoinc/XenoDevOps/wiki/GitPush)\n\nPushes your branch to ``origin`` without the annoying prompt when you're not tracking\n\n#### Usage\n\n* ``GitPush`` - Pushes your branch without tracking current branch\n* ``GitPush -track`` Pushes up branch and sets to track your branch, giving accessibility to ``git push`` in the future.\n\n### [GitStatus](https://github.com/xenoinc/XenoDevOps/wiki/GitStatus)\n\nReport stats about your current branch\n\n#### Usage\n\n```powershell\nGitStatus\n\nResults ===========================================\nName                           Value\n----                           -----\nBranch-Name:                   feature/VsTemplates\nAhead-Count:                   0\nAhead:                         False\nUntracked:                     False\nAdded-Files:                   0\nModified-Files:                0\nDeleted:                       1\nGitStatus completed.\n```\n\n## PowerShell  Execution Policies\n\nSample commands for getting execution policy\n\n```powershell\n# Get current policy\nget-executionpolicy\n\n# Get list of policy\nget-executionpolicy -list\n\n# Get Current User's policy\nget-executionpolicy -scope currentuser\n\n# Sets a policy\nSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser\n```\n\n## References\n\nSponsored by, Suess Labs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenoinc%2Fcodedevops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenoinc%2Fcodedevops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenoinc%2Fcodedevops/lists"}