Git

Problem-0: How to write readme.md in git?

By following this link we can get the clear concept about how to write readme.md in git. Adding image, newline, quotation and so on matter will discuss here.

Find the solution here-

https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax

For example, I have a.jpg on the google drive.

  1. Right click the image and click Share...

  2. Click Advanced and change the Who can access option to Public on the web - Anyone on the Internet

  3. Copy the link to share and you will have something like
    https://drive.google.com/file/d/<FILE_ID>/view?usp=sharing

  4. Copy the <FILE_ID> to make a link like this:
    https://drive.google.com/uc?export=view&id=<FILE_ID>

  5. Insert image in Markdown as ususal using the link from step 4.

Find the solution here-

https://stackoverflow.com/questions/52063556/add-image-to-github-readme-md-from-google-drive

Problem-2: Git best practices for git branching


Here is the link for git best practices for git branching-

https://blogs.halodoc.io/best-practices-for-git/

Problem-3: Git usefull cheat sheet