How to write a README

https://4geeks.com/lesson/building-your-github-profile-and-reputation

After pushing your code to master branch, run npm run deploy . This will make a new commit and push to your gh-pages branch that your GitHub Pages app running on. Then refresh your page. If you don't see any changes, wait a couple minutes and refresh it again.

The main branch is the main trunk of the tree.

Different branches allow different developers to code the software without interfering with each other. This also allows you to try out new features of the software.

Merge into the master branch when it’s ready.

<aside> 💡 Use command git branch to see all the branches.

</aside>

// Switch between branches using the checkout command.
git checkout branchName

You can create it using the 'b' flag: git checkout -b branchName

// For work in progress feature; save all your changes w/o committing it 
git stash -u

// To work on it some more
git stash pop

// merge time -> to master branch
git merge branch 

// simplify all those commits for the master branch
git merge feature --squash

Collaborating

  1. Fork the project

  2. Clone it to your local machine

  3. Run npm install to run the dependencies

  4. git checkout -b branchName

  5. git add, git commit

  6. git push origin branchName

  7. pull request is just a suggestion for a piece of software