For example, if you cloned the original repo to C:\repos, you already have a folder with name ITOpsTalk in there. Make sure you are cloning the repo to a folder on your machine that has enough disk space, as well as doesn’t have another folder with the same name structure. This will launch the GitHub Desktop app, and present you with the option to clone the repo on your machine: Once you have GitHub Desktop set up on your machine, go back to the GitHub webpage with your account and forked repo, click the Code button and select Open with GitHub Desktop. To get started, download the tool, then open and log into it. This tool is a great option when you are not going to make code changes to existing scripts, like when you have a finished script and you just want to offer it to the ITOpsTalk repo. GitHub Desktop is a GUI app from GitHub that helps you manage the sync and other actions between repos and its copy on your machine. ![]() Here we will cover two scenarios: Making changes to the repo via GitHub Desktop or using Visual Studio Code on your machine. There are multiple ways to make edits/contributions to the repo, ranging from the most simple, to the more complex ones. Making contributions to the ITOpsTalk repo If you are behind, you can click the Sync fork option. If you are ahead, you can open a PR to contribute your changes to the original repo.It also informs you if your repo is behind (outdated) or ahead (you made changes to your fork) of the original repo.On the top left, you’ll see that the repo is now under your account, but it clearly shows that this is forked from the Microsoft/ITOpsTalk.When the process completes, it will take you to your own version of the repo in your account: Notice the Owner on the image above should be you. Once you have an account, make sure you are looged into it, then click the Fork button on the top right corner of the ITOpsTalk repo: If you made changes to the forked repo in your account, you could then open a PR to merge your edits with our repo.īefore anything, if you don’t have a GitHub account, go create one. The nice thing about it, is that the repo knows it has a source and compares the two repos – If your forked repo is behind/outdated, you can sync it so the content will match. ![]() When you fork a GitHub repo, you create a clone of that repo under your own user. This is necessary as only Cloud Advocates have writing access to this repo. ![]() The first step to contribute to the repo is to fork it to your own account. While the repository will be maintained by the Moder Infrastructure Cloud Advocates at Microsoft, you can also contribute with IT/Ops related samples by submitting a Pull Request (PR)! This blog post will cover how that process works, in case you are not familiar with using GitHub. This repo will feature Infrastructure samples for anything related to Azure Infrastructure, Hybrid, Windows Server, Containers, etc. A few days ago, we announced the launch of the ITOpsTalk repository on GitHub.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |