Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move assignment to shell repo #38

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 2 additions & 64 deletions 02_activities/assignments/git_assignment.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,4 @@
# Git Assignment

In this assignment, you will be learning more about `git` and `GitHub` by working through the questions. As you answer the questions, you will practice your git skills by staging, committing and pushing your answers (changes) along the way.

1. Create a new public repository called `git_assignment` without a `README.md`
2. Clone it to your local computer
3. Create a `README.md` and paste the following code inside:

```markdown
# Git Assignment - <Your GitHub Username>
```

4. Stage, commit and push the repo
5. Create a new branch called `assignment`
6. In your `README.md`, answer the following questions:

> a. What is an _issue_?

> b. What is a _pull request_?

> c. Describe the steps to open a _pull request_?

> d. Describe the steps to add a collaborator to a repository (share write permissions)

> e. What is the difference between `git` and `GitHub`?

> f. What does `git diff` do?

> g. What is the `main` branch?

> h. Besides our initial commit if it is a new repository, should we directly push our changes directly into the `main` branch?


Feel free to at any point (recommended after answering every 2 questions) to stage, commit and push your work to GitHub. It is a great way to practice using `git`!

1. When you are done, please stage, commit your changes, and push it to GitHub.
2. Open up a pull request.
3. Write down in your pull request what you learned from this assignment. ([Guidelines for Pull Request Descriptions](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md#guidelines-for-pull-request-descriptions))

## Criteria

|Criteria|Complete|Incomplete|
|---|---|---|
|Branching|A new branch was created and used|A new branch was not created and used.|
|Pull Request|A pull request with the answers to the questions was made.|No pull request or answers were made.|
|Explanation Quality|Each answer per question is clear and concise.|Each answer per question is inconclusive.|

## Submission Information

🚨 **Please review our [Assignment Submission Guide](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md)** 🚨 for detailed instructions on how to format, branch, and submit your work. Following these guidelines is crucial for your submissions to be evaluated correctly.

### Submission Parameters:
* Submission Due Date: `2024-08-25 - 23:59`
* The branch name for your repo should be: `assignment`
* What to submit for this assignment:
* The mentioned markdown file above (README.md) should be populated with what we have asked for and should be the only change in your pull request.
* What the pull request link should look like for this assignment: `https://github.com/<your_github_username>/git_assignment/pull/<pr_id>`
* Open a private window in your browser. Copy and paste the link to your pull request into the address bar. Make sure you can see your pull request properly. This helps the technical facilitator and learning support staff review your submission easily.

Checklist:
- [ ] Create a branch called `assignment`.
- [ ] Ensure that the repository is public.
- [ ] Review [the PR description guidelines](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md#guidelines-for-pull-request-descriptions) and adhere to them.
- [ ] Verify that the link is accessible in a private browser window.

If you encounter any difficulties or have questions, please don't hesitate to reach out to our team via our Slack at `#cohort-3-help`. Our Technical Facilitators and Learning Support staff are here to help you navigate any challenges.
The combined Shell and Git module assignments can be found in the Shell repository.
https://github.com/UofT-DSI/shell/blob/main/02_activities/assignments/assignment_instructions.md
Loading