Welcome to the Git Collaboration Challenge! This project is designed to help you practice collaboration and version control using Git and GitHub. Follow the steps below carefully to complete the challenge. The first participant whose pull request (PR) is reviewed and accepted wins!
This challenge focuses on:
- Forking a GitHub repository.
- Creating and managing feature branches.
- Adding and committing changes.
- Opening a pull request.
- Collaborating with teammates to resolve merge conflicts and review code.
Fork this repository to your GitHub account. This creates a copy of the repository in your account that you can work on without affecting the original repository.
- Click the Fork button in the top-right corner of this repository’s GitHub page.
- Choose your GitHub account as the destination for the fork.
Clone your forked repository to your local machine so you can work on it.
- Copy the URL of your forked repository from GitHub.
- Open a terminal and run the following command:
git clone https://github.com/your-username/git-challenge-collaboration.git
git clone https://github.com/your-username/git-challenge-collaboration.git cd git-challenge-collaboration
git checkout -b feature/your-branch-name
echo "Hi! My name is [Your Name]. I am a [Your Role]. I am passionate about [Your Passion]." > your-name.txt git add your-name.txt
git commit -m "Add introduction file for [Your Name]"
git push origin feature/your-name
git fetch origin
git merge origin/master
git add .
git commit -m "Resolve merge conflicts"
git push origin feature/your-brancg-name
