- Create a GitHub account if you don't have one.
- Fork this public repository to your GitHub account.
- To start working, clone your forked repository at your development system.
- Check for issues here tasks are created for learning purpose.
- Complete all tasks, for every task (issue) create a new branch and push your changes to that branch.
master
- For feature -
feature-vt-issue-number
- For example: if issue number is 3,
feature-vt-3
- For example: if issue number is 3,
- For bug -
fix-vt-issue-number
- For example: if issue number is 4,
fix-vt-4
- For example: if issue number is 4,
To know active branch use git branch
- New branch can be created from an active branch, for this
git branch
ORgit checkout
command can be used. - Create a new branch:
git branch new_branch_name
, here branch with namenew_branch_name
will be created from active branch & active branch will remain same. - Create a new branch & checkout (change) branch:
git checkout -b new_branch_name
, here branch with namenew_branch_name
will be created from active branch & branch will changed tonew_branch_name
, nownew_branch_name
is an active branch.
To delete branch use git branch -D existing_branch_name
- For individual file use
git add <filename>
- For all files / folders use
git add .
- Once new files or changes added to git it can be commited to git branch using command
git commit
& option-m
for adding commit message.git commit -m 'Message about changes that are to be commited'
- Once required commits are done, branch can be pushed to it's remote repository.
- Know about remote repository use command
git remote -v
, it will display added remote repositories. - To push branch use
git push origin <name_of_branch>
- Title should be same as Issue title, also add issue number before title.
- For example: if issue title is "Setup initial design"
vt-3 Setup initial design
.
- For example: if issue title is "Setup initial design"
- Add proper description about completed task.
- Assign reviewer for your PR.
- Create draft pull request for work in-progress (WIP) PR and don't add
WIP:
in PR title. - PR should have one approval.