![]() 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. This was a quick walkthrough on how you can update a fork and sync it to the latest state of the original repository.A few days ago, we announced the launch of the ITOpsTalk repository on GitHub. Now your fork is up to date with the original repo. Provide the pull request with a title and a body, and then create the pull request: Create a pull request.įinally, on the pull request that got created, scroll to the bottom and merge the pull request: Merge the pull request.Īnd that’s it. You can merge those in by creating a pull request: After comparing the branches, create a pull request. Once you switch the bases, you’ll be able to open a pull request to merge in the changes from the original branch into your own. You can achieve this, by hitting the “switching the base” option: This is not what you want, you want the inverse. Start by clicking the pull request button.įrom there, GitHub by default takes you to a view of opening a PR on the original repo to merge in your changes. Next to that mention, there is an option to open a pull request. You should see a mention that this branch is behind the original branch. To start, open the forked repo in Github. This is easy to do, but you have to know which buttons to push. I recently needed to sync a GitHub repo I forked to the latest status of the original fork.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |