This is a step-by-step guide on how to create a resume and push to GitHubs pages
Steps
- Download Git Bash.
- Configure Git Bash.
- Work with the configured environment.
- Clone your Github repo.
- Push to Github
- Show the content
Step 1: Download Git Bash
Instructions on downloading and installing Git Bash.
-
Download Gitbash
click the link above Choose the appropriate windows of the computers being used.
Finish the download by selecting all the defaults.
Open the App
Step 2: Configure Git Bash.
- To Configure username, enter the command git config --global user.name “name” then press the enter key
- To configure user email, enter the command git config --global user.email “email” then press enter key.
- To check the configuration just completed, enter the command git config --list. This will display the just configured username and user email.
Step 3: Working with the configured environment.
- To Create directory (A directory is a place where all similar items are kept together), enter the command mkdir website, press enter. This will create a directory named website.
- To enter directory into the directory, enter the command cd website, press enter.
- To initialize the directory, turns the directory into a Git repository. Enter the command git init website.
- To create a text file in the directory called index.html, enter the command touch index.html
- Opening the index.html file. Enter the command vim index.html
- Press i to enable writing into the file
- create a sample index.html resume with ChatGPT. Go to chatGPT and create an index.html resume
- paste the resume into the index.html file. You can edit as appropriate to enter your details.
- exit the index.html file after editing.
Step 4: Clone your Github repo.
- Go to Github. and create a repository
- Give a unique name
- Choose public
- Add a readme
- Create repository
- Clone using the web URL by copying the code. Click in code, under the HTTPS tab, click copy
- Enter the command git remote add origin (paste the url). This will add the text resume.
Step 5: Push to Github
- git add index.html
- To check the git status. This will confirm nothing has been added to the file, but there are untracked files present. Enter git status
- Enter git add index.html. This will add the file to the staging area.
- Enter git status again. This will confirm successful addition.
- Enter git commit -m “Create index.html”. This will take a snap short of the file and add a message (create index.html) to it. - creates will the m adds a message
- Enter git push origin master. This will push the file to GitHub.
- Compare and pull request.
- Noticed the request is pulled but nothing to compare because this is your file and it's the initial pull.
Step 6: Show the content
- click on settings
- Go to pages tab
- from the source drop down, select deploy from a master
- from the Branch, select master
- click in save
- refresh
- notice site is now live
- click on visit site
Top comments (0)