-
Create new repository (github.com/new), make sure to make public, add a README.md
-
Clone (big green button, "CODE") your repo using the HTTPS or SSH(if you have that set up) into a folder on your computer. "git clone urlString"
-
Adding collaborators. Settings > Manage Access > Invite collaborators
-
Set Rules. Settings > Branches > Add Rule > set branch name > select : 'Require pull request reviews before merging' AND 'Include administrators' > create
-
Set up a project, "basic kanban"
-
Create issues and assign to project (don't worry about creating them all at once, start with the basics)
-
Pushing our branch.
- "git status"
- "git add ."
- "git commit -m 'message' "
- "git status"
- "git pull origin main"
- "git push origin "
- Complete the pull request. Go to "pull requests", click green button that says "pull request", assign to project and assign reviewers.
How to view and run code from someone elses branch. This will be useful when reviewing a "pull request".
-
"git fetch"
-
"git checkout -b origin/"
If you have made changes make sure to commit before you pull or you will lose them.
-
"git pull origin main"
-
resolve conflicts
-
"git add ."
-
"git commit -m 'message' "
-
"git pull origin main"
-
"git push origin "