Skip to main content

Exercise 1: Clone, commit, pull, push

    If

    Getting you'restarted

    working

    Step 1: Get yourself on Github! Go to https://github.com/ and make yourself an account, if you don't already have one.

    Step 2: Click HERE and leave a comment on the issue. This will give me your ownusername laptop,so I can add you as a collaborator on the project. This is important - because even though you can downloadsee all the code right now, you won't be able to push any of your changes until you've been added.

    Setting up the git user

    Before we can start using git, we have to tell it our name and email address. Weirdly, this isn't actually related to your Github account - it's just an identifier that it will put next to your commits (so your friends know who to blame when the project breaks!)

    Additional resources:

    - Tutorials and cheat sheets from Github: https://try.github.io/ - Download and install the latest version of git here:for your laptop or home PC: Git downloads page. On university PCs, it should already be installed - ifGUI not,applications itfor cangit: be- installedFork from- ZenworksGithub (ask a technician to show you how!)
Desktop