git clone https://github.com/GDG-Yasar-Software-Team/core.git
cd coregit checkout main
git pull origin maingit checkout -b feature/your-feature-nameBranch naming:
feature/- new featuresfix/- bug fixesdocs/- documentation updates
git add .
git commit -m "feat: add user login"Commit message prefixes:
feat:- new featurefix:- bug fixdocs:- documentationrefactor:- code refactoringstyle:- formatting, no code change
git push origin feature/your-feature-nameGo to GitHub and create a PR. See github-workflow.md for details.
| Command | Description |
|---|---|
git status |
See changed files |
git diff |
See what changed |
git log --oneline |
View commit history |
git branch |
List branches |
git checkout main |
Switch to main branch |
- Never commit directly to
main - Always create a branch for your work
- Always create a PR for review