Skip to content

clarusway/FS-13-Git-Workshop

Repository files navigation

alt text


Git-CC-001 : Git Operations

Purpose of the this coding challenge is to learn Git basics operations.

Learning Outcomes

At the end of the this coding challenge, students will be able to;

  • clone a repository from GitHub

  • make basic Git operations in local repository

  • send the changes to remote repository

Preparation

If you have not already done so, set up a GitHub account and send your email or username from slack.

Problem Statement

  1. Clone the repository at https://github.com/clarusway/FS-13-Git-Workshop.git

  2. Add a file that describes you and named your_number_name.txt to the participants directory.

  3. First, stage the changes.

  4. then comit your changes. Use a meaningful message like "Added information about YOUR NAME HERE."

  5. Use git push to send your change to the remote repository.

  6. Look online to see if your change has been pushed.

  7. Wait until some other students have pushed their update. Then use git pull to get their change into your repository. Verify that you have the new file.

  8. Use git log or git log | less to see a list of changes to the repository.

  9. Edit the file participants.md to add your name. Then add the file, commit it, and push it.

  10. Whoever tries to push the file first will likely succeed. Whoever tries to push the file second will likely get an error message. Figure out how to resolve the error message.

  11. Create a new branch named <yournumber_name> and switch to it.

  12. Create a new folder name as <yournumber_name> and add a text file inside this folder and type "working with branches" into this text file.

  13. Once done above steps stage, commit and push to repo.

⌛ Happy Coding ✍

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages