Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.51 KB

CONTRIBUTING.md

File metadata and controls

27 lines (23 loc) · 1.51 KB

git commited workshop form

Form for sign up for the git committed workshop

Contribution Guide

  1. Clone the repository using git clone https://github.com/Android-Club-VITC/git-commited-form.git
  2. Create a new branch following the nomenclature username/label/issue-name
  3. Create .env file in your root folder and write GOOGLE_API_KEY = api-key-here
  4. Work on your branch only on the file relating to your issue
  5. Push changes to your branch using

Some useful git commands -

Create a new branch using git checkout -b username/label/issue-name
Check branch using git branch - the branch in green color with * is your current active branch
Checkout to existing branch by git checkout branch-name
Commit your changes to your branch by following these steps
  1. git add . - adds all changed to files to be ready to be commited
  2. git commit -m "COMMIT MESSAGE" - commit to your changes to your local git
  3. git push origin YOUR-BRANCH-NAME - push your changes to remote git
git pull origin branch-name pulls the latest update from the current branch
If the above does not update your branch then type in git fetch origin branch-name and do git pull origin branch-name again.

For more git commands,etc read yourself. Self learning is best learning.