Collaborative GitHub Repository
It’s time to get your hands dirty with some action-oriented instruction. For this chapter’s project, you’re in a dilemma. You and your team have been storing scripts in a OneDrive folder and need a better way to manage code.
Discovering GitHub, you’d like to set up a repo to see how you and your team can collaborate within GitHub.
The helpdesk department created a service account for you so you could sign up to GitHub with an account that everyone can use to access. Maybe there’s a way to add more people to the repositories for collaboration.
In this hands-on lab, you will hit the ground running with GitHub. In this project, you will:
Ensure all necessary tools for this project are installed.
Create a GitHub repo called NoBSAutomation.
Add a collaborator to the repo.
Clone the GitHub repo.
Create a branching strategy using GitFlow by using branches called master and develop.
Make a change to a branch and use VS Code to commit code to the repo by creating a PR.
Review and merge the changes made by the PR into the master branch.
By the time you’re done, you will have covered a basic workflow using GitHub.