its-kundan / Ocean_notes

0 stars 0 forks source link

Ocean_notes

Tips for GitHub

  1. Write a good commit message
  2. add a good readme file ( use a website! and this one! or createonešŸ’” )
  3. Keep the repo clean (.gitignore)
  4. Use Branches for feature dev.
  5. Regularly pull and push
  6. Review changes before merging ( grp project)
  7. use tags for releases( major feature tags)
  8. collaborate with a pull request
  9. utilise the GitHub feature ( issue)

GitHub Good Commit message messages.

Add connect local folder with GitHub repo and push local to remote

echo "# Ocean_notes" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/its-kundan/Ocean_notes.git
git push -u origin main

How to fetch as a remote repo from a GitHub repo

My knowledge of Git and GitHub

Clone a repo from GitHub

Add notes from the w3schools and others.