Clone A Repo
Clone a Repo Contining HTML & CSS
If you have git installed already, great! If not, you can follow the instructions for installing git from the Railsbridge Installfest for Rails, then return to this page.
Follow the instructions for configuring git from the Railsbridge Rails workshop and then return to this page.
Clone the Repo / Copy the Files
Create a directory that you want to save your Railsbridge files in (if you haven't done so before). If you're using the console type:
then, to change to that directory
cd railsbridge .
- To clone the repo from the Railsbridge repository type:
git clone http://whatever-i'll-look-this-up-laternote: I don't think these files are in the repo yet, so the correct URL can't be inserted yet - this will save the files from Github to your computer.
- If you have issues installing git: to download the files as a
.ziparchive, navigate in your browser to the page containing them on the GitHub site, and click on Download ZIP button and save to your
- If you are getting the files from a USB drive, transfer them to your
If you got the files as a
.zip archive, extract them to a directory using your usual methods.
Look at a file listing in your directory to verify the files are there.
more info on git (extra stuff you can read later if you want)
Git is not just used for transferring files, it's one of a variety of version control systems that let you backup your files and share them with others in group development. Railsbridge has its files on GitHub, a public Git hosting site.