Welcome to the Rhode Island version control feedback repository. Here, you'll test various Git features and work with fellow testers to build a repository. If you're viewing this, you were added as a contributor, which means you can view, edit, upload, and delete files. However, since this repository is version controlled with Git, it can be reinstated even if you delete important files, such as this README.
Throughout this interactive tutorial, you may run into various questions regarding Git and GitHub software. If you need help, just click on the issues tab above this README. Then, click the green button that says "New issue" and submit a ticket.
First, you'll need to install Git, the version control software that GitHub is based on. While it may already be installed on your computer, please follow the below steps to make you're running the most recent version of Git. More information about installing Git can be found here.
If you're using a Windows or Mac operating system, you can download a GUI called GitHub desktop. This provides a graphical interface for making Git commits, creating and using branches, and uploading your code to GitHub. If you've never used Git before or are uncomfortable with the command line interface (CLI), GitHub Desktop is likely your best option. Download Github Desktop Here.
GitHub Desktop will automatically install command line tools on Windows. However, if you want to use Git exclusively via the command line, you can download it by clicking on this link (automatic download).
GitHub Desktop will automatically install command line tools on Mac. However, if you want to use Git exclusively via Terminal, you can download it by clicking on this link (automatic download). Follow the
GitHub Desktop is not currently available on Linux distros. If you're running a Debian-based distro such as Ubuntu, you can use the APT package manager.
$ sudo apt-get install git-all
If you're on Fedora or another distributio nthat uses YUM, then use the following command:
$ sudo apt-get install git-all
If you opted to download the command line tools without GitHub Desktop, or you want more options than GitHub Desktop provides, then you can learn Git following this tutorial from Code School.
- Once you've downloaded GitHub Desktop and logged into your GitHub account, you'll need to download this repository to your local device. Since you've been added as a contributor to this repository, you can clone the repository, which gives you the ability to make changes and re-upload (i.e., push) them to GitHub. You can so this by clicking the "+" sign in the top-left corner of GitHub Desktop, as shown in the image below. Then click "Clone
Try-GitHub
."
- Once you've done this, right-click on the
Try-Github
repository, as shown below, and click "Open in Explorer" or "Open in Finder," depending on what operating system you're using.
- Open the
Contributors.csv
file with Excel or another spreadsheet application, and add your name, email address, and department to the spreadsheet. Don't worry - we've already got your contact information, this is just practice with the GitHub Desktop software.
- Save the file as a CSV (overwriting the old one) and return to the GitHub Desktop interface. You should see "1 change" listed, and a summary of your changes on the right-hand side. To permanently save this change in the version control system, you need to commit it. To do so, fill out the summary field and click "Commit to gh-pages."
- Now, the new version of
Contributors.csv
has been saved in version control on your device. In order to get these changes to show up on the GitHub repository, you'll need to push your changes. To do this, just click the "Sync" button in the top-right hand corner. In a couple of seconds, you'll see your changes updated to the GitHub site.
You've now finished the first part of the tutorial!