Giter Site home page Giter Site logo

22-conflicctgameb's Introduction

22-ConflicctGameB

This is a repository for pull request and conflict practice

Play the game using these TWO RULES

  • You will ONLY edit the file when on your feature branch!
  • You will NEVER commit changes when on the main branch!Play the game using these TWO RULE

Setup in Git Bash or use VS Code integrated Terminal

  1. Open Git Bash
  2. Clone the repo into a new directory
  3. Create a new branch, call it sign-in*-yourName* (this will be your feature branch) and check out this new branch using "git checkout -b *your feature branch name*"
  4. Modify the sign-in.txt code to add your name and the BC email address below my name
  5. Commit the changes
  6. Push your feature branch to Github using "git push origin *your feature branch name*"

Using GitHUB

  1. Make a Pull Request from your branch to main to push changes
  2. resolve the merge conflicts, if there is any.(Check pull-Merge-Commit-Push details below)
    • Be mindful not to delete other people's response.
    • You may have to deal with merge conflicts more than once through this process.

Pull-Merge-Commit-Push (repeat this part)

(NOTE: you will need to do this several times since the main branch will be changing using other NT's pull requests )

From VS Code Integrated Terminal

  1. Be sure you are in the directory for this project
  2. Type "git status" to make sure you are on your feature branch and it is clean
  3. Type "git pull --rebase origin main" or git pull origin main to pull the current copy of the main branch from the server and merge it into your feature branch
  4. Make whatever changes you need to the file so that all of the existing names are included in the list and your name is below all other names
  5. Finish the changes and Commit your changes
  6. Type "git status" to be sure you are on your feature branch and it is clean
  7. Type "git push -u origin *your feature branch name*" to push the updated copy of your feature branch to the server

From Github

  1. Navigate to your Pull request
  2. Review your pull request to see that it shows that it is able to be merged.
  3. If yes, complete the merge, otherwise see below

Repeat until complete the merge

  1. Review your pull request details to see if your branch has conflicts with the current main branch. (Somebody branch has been merged ahead of you or other changes were made to main, sorry!!)
  2. Resolve the conflicts using the "Pull-Merge-Commit-Push-Request" steps above (redo the entire process from pulling the main branch to pushing your feature branch and requesting a new review) - notice that the code continue to incorporate new names into main.
  3. Repeat until you are able to merge your branch and close your pull request.

22-conflicctgameb's People

Contributors

hahjimah avatar keihallberg avatar bookmdan avatar elenaochkina avatar hsiehs avatar jo-bc avatar sarafarag avatar kylemai96 avatar twangia avatar matthewryangranger avatar josephprado avatar hollie-fritz avatar gnngo avatar davepie avatar david-harmon-bc avatar chutton7743 avatar charlesbc2023 avatar clrminded avatar avnimungra avatar olaydub avatar soundfuze avatar mohamedelfergani avatar ttsega06 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.