Skip to content

hodanysf/ConnectHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Commands

Warning

Please do not develop features in main branch!
Please install dependencies/library under client orserver folder you are working on.

Setting Up

  1. Clone a repository in your local folder (whereever you want)
    git clone URL

Development Cycle

  1. Check branches

    git branch
  2. Switch branch to "main"

    git checkout main
  3. Pull latest changes into your local "main" repository

    git pull origin main

Note

you should install dependencies every time in case someone add a new dependency.
Do "npm install" under client and server folders.
e.g. ~/ConnectHub/client npm install and ~/ConnectHub/server npm install

  1. Create a new branch

    git checkout -b NEW_BRANCH_NAME
  2. Switch branches

    git checkout BRANCH_NAME
  3. Development

    Please develop the feature.
  4. Check status

    git status
  5. Add changes

    git add .
  6. Commit changes

    git commit -m "Your descriptive commit message here"
  7. Push changes to the remote branch

    git push origin BRANCH_NAME
  8. Go to the Github page -> Switch branch to your working branch -> Go to Pull Requests

  9. Make a pull request (by clicking "Compare & pull requests") -> Write descriptions and Click "Create pull request"

  10. Click "Merge pull request" -> Confirm merge -> Delete your branch

About

Full Stack Web Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published