Skip to content
Kwabena Boadi Sapong edited this page Oct 25, 2022 · 1 revision

Welcome to the alx-peer_group_discussions wiki!

Guidelines for Adding files / Modifying files in alx-peer_group_discussions repo

---------------------------------------------------------------------------------------------------------

  1. git status #to check branch you are in master (if not in master then "git switch master")
  2. git pull #to update local master on your terminal with remote repo
  3. git switch branch_name #to switch to your branch_name
  4. git merge master #make a copy from local master to local branch_name
  5. file operations #modify the file or add file!!!
  6. git add file && git commit -m 'State what you want done' && git push #update remote branch_name repo
  7. git switch master #switch to master branch
  8. git merge branch_name #pull request to add contributions made on branch_name to master branch
  9. git status #to check if master is updated
  10. git switch branch_name && git status #to check if branch is up to date with master
  11. git diff master branch_name #to compare your branch with the master branch

---------------------------------------------------------------------------------------------------------

###Note ->A pull request – also referred to as a merge request – is an event that takes place in software development when a contributor/developer is ready to begin the process of merging new code changes with the main project repository.

->A project’s repository (or “repo”) is where all the project code, product knowledge, metadata, and much more data/information is stored.

->A repository maintainer/manager is someone on a DevOps or operations team who is responsible for maintaining said repository.

Clone this wiki locally