Welcome to the Data Science Club · USTHB Git & GitHub practice repository!
This repository is a safe place to practise the workflow from your first commit to your first Pull Request.
New to Git or GitHub? Start with these resources:
- Git Cheat Sheet — Essential commands in English and French.
- Git Glossary — Understand the key Git and GitHub terms.
- Common Errors — Troubleshoot frequent problems.
By completing the challenges, you will learn how to:
- Fork and clone a repository.
- Create a feature branch.
- Edit and stage a file.
- Make a meaningful commit.
- Push your branch to GitHub.
- Open a Pull Request for review.
Follow the guided exercises in the workshop-challenges/ folder:
-
If you are contributing to the club's original repository and do not have write access, click Fork on GitHub.
-
Clone your fork:
git clone <your-fork-url> cd git-github-club-practice
-
Create a branch using your name or GitHub username:
git switch -c docs/add-your-name
-
Open
CONTRIBUTORS.mdand add your name using the format already shown there. -
Review your change:
git status git diff
-
Stage and commit:
git add CONTRIBUTORS.md git diff --staged git commit -m "docs: add <your-name> to contributors" -
Push your branch:
git push -u origin docs/add-your-name
-
On GitHub, open a Pull Request from your fork's branch to the original repository's
mainbranch. -
In the PR description, explain what you changed.
- Make one small, focused contribution per Pull Request.
- Use a descriptive branch name.
- Use a clear commit message.
- Do not commit passwords, API keys, tokens,
.envfiles, virtual environments, or private data. - Be respectful in reviews and discussions.
- Do not edit another contributor's entry without permission.
docs/add-your-namedocs/improve-readmefix/fix-typofeature/add-resource
Open an Issue in this repository and describe:
- What you were trying to do.
- The command you ran.
- The complete error message (remove any passwords, tokens, or private information).
Happy learning!