forked from tcbutler320/Jekyll-Theme-Dumbarton
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Update Readme.md with
- Installation
- working with Git
- working with markdown
Installation
-
Install Visual Studio Code
-
Install Git
- open CMD in windows start menu and type
$ git config --global user.name "username provided in github(Altaf-hub)"
$ git config --global user.email "email provided in github"
- open CMD in windows start menu and type
-
Follow this tutorial to install Jekyll
- Download Ruby+Devkit from Ruby Installer
- Run the ridk install step on the last stage of the installation wizard.
- From the options choose
3for MSYS2 and MINGW development tool chain - open CMD in start menu and type
gem install jekyll bundler - type
jekyll -vin terminal to check if jekyll is installed
Working with Git
- To clone this repository
git clone https://github.com/Altaf-hub/Altaf-hub.github.io.git - To fetch all the changes in your github repo
git fetch - To list all branches
git branch -r - To jump to a branch of your choice(1-update)
git checkout 1-update - To download the changes to current branch in local repo from the same branch in github repo
git pull - To check the changes
git status - To add all the changes or to add these files ( README.md, index.html ) to a branch
git add .orgit add README.md index.html - To commit all the changes to a branch
git commit -m "I have added README"
add the comments inside apostrophes - To push all the changes to online github repo from local repo
git push origin 1-update - Refer this nice article by Gitlab
- Refer this [article by freecodecamp for more clarity] (https://www.freecodecamp.org/news/git-cheat-sheet/)
Working with Markdown
- Refer to this cheatsheet
- For comprehensive understanding, refer to this article from Github
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels