- Fork this repository to your GitHub account and clone the forked repository into your
ironhack/labsfolder:
$ git clone https://github.com/<your-account>/<lab-repo>.git
Git will create a new folder named as the repository you're cloning and will convert it automatically into a git repository.
- Once you're into your newly created folder (repository) you can create a new branch for start an assignment:
$ git checkout -b <lab-name>
IMPORTANT: Precise syntax is fundamental to writing reliable, maintainable, and efficient code, avoiding errors, and ensuring that the program behaves as intended. That is why we must practice being precise at all times, so we recommend copying and pasting the name of the lab from the URL of your browser.
Each lab has its own directory in which you'll find a README.md file with instructions and requirements and, in most of them, sub-directories named your-code and data containing code and data respectively. When you work on the assignment, create your code files in the your-code directory and save regularly while you work using:
$ git add <files-to-add>
$ git commit -m "lab-started"
$ git push origin <branch-name>
After you finish, perform a last commit as follow:
$ git add <files-to-add>
$ git commit -m "lab-finished"
$ git push origin <branch-name>
The instructional team will review your branch and provide feedback.
To work on the subsequent assignments, create a new branch for every new assignment.
❗ You may be asked in the future to update your forked repo because the curriculum development team is developing new assignments for you as the course proceeds.
