This was inspired by my friends at Emerald DAO to help beginners submit their Bootcamp quests easily using Github. Yet it packed with Github and Markdown Cheat Sheet for any beginner developer to Github. Meanwhile you can checkout Free dApp development/coding Bootcamp from EmeraldDAO under the Credit Section at the end of this guide.
Click to watch the step by step video guide:
Git can be define as a version control system. This makes it possible and easier for developers to track thier code version as they make changes to it from time to time.
Github on the other hand is a cloud based hosted version of Git. This makes it easier to access git features remotely across the web. Github Encourages developers collaboration and has grown to be one of the top frontier for opensource codes on the web.
Github account is free and you can easily open a Github account just by going to GitHub.com.
Then click SIGN UP
button. Follow the instructions step by step to register an account free on Github.
You can switch to dark theme easily in Github just by checking out Settings
, then go to Appearance
All above questions answered in the video above.
It auto seperate/break the headings from content body with an underline similar to horizontal line but not as bold
# for heading 1
## for heading 2
### for heading 3
#### for heading 4
##### for heading 5
###### for heading 6
Markdown:
`text highlight here`
Example:
This is a text highlight here
for you
HTML:
<hr>
Example:
HTML:
per new line break space needed
<br/>
HTML: per new paragraph space needed
<p>new paragraph space content here</p>
Examples:
1 new paragraph space content here
2 new paragraph space content here
A: Absolute Links (best for referencing contents existing outside the repository)
HTML:<a href="https://dProgrammingUniversity.com">dProgramming University</a>
Markdown:
[dProgramming University](https://dProgrammingUniversity.com)
Example: Both HTML and Markdown above will render as
B: Relative Links (best for referencing contents existing within the same repository)
HTML:<a href="../Ep2.md">Episode 2</a>
Markdown:
[Episode 2](/Ep2.md)
Example: Both HTML and Markdown above will render as:
NOTE: When using relative path, be aware that the url is case sensitive. If the actual url of the page you are trying to link to is for example Ep2.md
(upercase E
) and you reference it as ep2.md
(lowercase e
). It will lead to 404 eror page as seen below.
Episode 2 (page hyperlinked to correct file with Ep2.md)
Episode 2 (hyperlink lead to 404 error page with ep2.md)
Markdown:
1. item 1
2. item 2
3. item 3 and so on
Example:
- item 1
- item 2
- item 3 and so on
Markdown:
- item
- item
- item and so on
Example:
- item
- item
- item and so on
A) HTML:
Absolute image path:
<img src="https://github.com/SolomonFoskaay/Github-Tutorial-How-To-Use-Github-Like-A-Pro-Developer/blob/main/Media/Screenshots/Web3-GameFi-Images-001a-Platformer.jpg" width="100%" height="100%">
Relative Image path:
<img src="/Media/Screenshots/Web3-GameFi-Images-001a-Platformer.jpg" width="100%" height="100%">
B) Markdown:
Absolute image path:
![This is an image](https://github.com/SolomonFoskaay/Github-Tutorial-How-To-Use-Github-Like-A-Pro-Developer/blob/main/Media/Screenshots/Web3-GameFi-Images-001a-Platformer.jpg)
Relative Image path:
![This is an image](/Media/Screenshots/Web3-GameFi-Images-001a-Platformer.jpg)
Example: Any of the above image paths will be rendered as below:
Image of DancingDino - extracted fom my Free NoCode Web3 GameFi Development Course
Simply drag and drop where its needed to upload video directly to github (watch how I uploaded the video below in the full guide video above)
Example:
Markdown:
Example:
YOUR JAVASCRIPT OR RELATED CODES (LIKE CADENCE, SOLIDITY) HERE
Note: The above code is in Blue because we specify it as Javascript
code. Try changing it to CSS
and it will turn Green
and so on. Changes colour from one programming language to the other - interesting!
YOUR CSS OR RELATED CODES HERE
Sample Cadence code:
pub contract PetCenter {
//SolomonFoskaayQuestsSubmission
//create event
pub event NewPetAdded (petType: String, petName: String)
//resource interface
pub resource interface IPet {
pub var petType: String
}
//resource type @Pet
pub resource Pet: IPet {
pub var petType: String
pub var petName: String
init() {
self.petType = "Dog"
self.petName = "Puppy"
}
}
//create & return @Pet resource
pub fun createPet(newPetType: String, newPetName: String): @Pet {
let petAdded <- create Pet()
//emit event details of newsly created pet to users
emit NewPetAdded (petType: newPetType, petName: newPetName)
return <- petAdded
}
//initialize variables
init() {
}
}
how to git clone from github (clone repository github)
how to download code from github (same as clone repository github)
how to push to github
how to push code to github from visual studio
how to delete repository github
how to download github
how to upload project on github desktop
how to create pull request in github (create github pull request)
github pages
github profile link
And a lot more - KINDLY GO TO Episode 2 of this tutorial here
Kindly reach me on Discord Here & Follow me on Twitter Here
Presearch - Decentralize search + earn while searching as devs
Emerald DAO - Join Free Cadence Bootcamp & Learn To Build dApps on Flow Blockchain
Unlock Protocol - Decentralized Membership as NFT Protocol
dProgrammingUniversity - Free Web3 Programming Courses Platform