Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 2.79 KB

File metadata and controls

64 lines (36 loc) · 2.79 KB

Day 2 Challenge

What do I Learn

Learn about Git remotes. Github repositories are capable of having different remotes(URL pointers), usually one pointing to the original repository and one pointing to the forked repository. Changes on the original repository are pulled(git pull) to make the local code base up to date. When the local codebase is up to date, additional code can be added to it, then a push is made to the forked repository to make it up to date or ready for pull requests. That said a typical Git/Github project involves the Original repository(origin), the forked repository(free to call it what you want), and a local copy.

Tasks

Extra - feel free to send in a Pull request if you see a typo, spelling error anywhere in this codebase

Day 2 Challenge, how to submit

  • Create a file called <yourname-day2.md> in the day2challenge folder, for screenshots

  • To see all your current remotes

  • Run git remote -v on terminal or CMD

  • Add Screenshot to show output

  • Add a new remote with format git remote add <github-name> <your-forked-repo-url>

  • In my case I will Run git remote add prondubuisi https://github.com/prondubuisi/git-14days-challenge

  • Run git remote -v on terminal or CMD to see new remotes

  • Add screenshot to show output

  • To pull changes from Original repository

  • run git pull origin master

  • To push changes to forked repository

  • run git push <git-username> master

  • In my case I will run git push prondubuisi master

  • add Screenshot to show command output

  • Add all screenshots to file created and make a pull request

  • Make a Post in the Facebook group telling us about your Progress and what you have learnt

Day 2 Challenge, 2 need help

owerri/git-14days-challenge/issues/5

  • Create an issue on github and tell us what challenges you are having, someone would be kind enough to help you out
  • Tell us about the challenges you are facing in the facebook group
  • Wait for the solution video which comes out by the end of everyday D:, don't do this