How to create "Code Resume"using index.html from Git-Bash to Git-Hub
Published: 2024-05-04 19:41:13

**_Step 1._** Create a New file or directory on your computer Desktop and name it “My resume”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w4mc8890yn5k5w726j32.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wcs9jhs4uu32qjety0l4.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vcu1yqyl8h5sqnp3qibt.png)

**Step 2:** Open the folder, right click and Open Git-bash here, a new window will open 
“MINGW64:/c/Users/lenovo/Desktop/My resume”--- for example

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4auyyqw92o8o0ily4ivt.png)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uozgdnbzmm2vkzjzsy3p.png)

**Step 3:** Create a text file by entering the command
“cd touch file1” 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fu87t86e7gnyte0x41kq.png)

**Step 4 :** Get a sample Index.html resume from chatgpt and copy the code

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ov4eddr1m34lh4tkhnd1.png)
Step 5 : On your Git-bash, Enter the command 

“vim file1” – To enter the file for editing 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xvp4t1gk92ymzijwzuki.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rtlhjtr8mlob2ayklk0p.png)
“Press ‘I’ “ – To insert a text or code such as the Index.html sample resume 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r0f52d6h4xjpg03747uh.png)
Insert the index.html code from chatgpt

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n3z7nyejbmgra4xf02ij.png)
Press “ESC” – To stop inserting
Press “Shift+ colon(:)” – to end the process
Press “ W” – To save your work or “wq” --- To save and exit the file.
Then press “enter” to take you back to bash.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cd8orch86pdavz932bkd.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ywjpl5w66hjk85bxbra.png)

**Step 6:** Configure your identity in git-bash 
Enter the command – “git config – global user.name “Name” 
Then press enter
Enter the command – “git config – global user.email “email”
Then press enter

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/knayo58ji7oah7chlhjw.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ga89kmlnxt2uk17jpami.png)
**Step 7 :** Initialize the git file 
Enter the command “git init”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/crsp7nl6jv38eqixixc5.png)

**Step 8: **Go to your github account, login and find the “+” on the top right corner and create a new repository

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sgqkts5ovd4rlxnixpgj.png)
Give it a name “ Resumerepo” and click “create repository”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ms5qa1eeyz6qhzk58xhc.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yht8pfqd8ftrtz2ij0xc.png)

Next, Click on the “Code button” and copy the “HTTPS Code”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yxbr9mbk1zl2eqhyyi3f.png)

**Step 9 :** Git Clone 

Enter the command – “git remote add origin “(insert the HTTPS code from github here)”
Enter the command – “git remote add origin https://github.com/busyhenrybrain14/Resumerepo.git

Press Enter

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6o9q8mi840cmzawg8kh7.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9se31bc3493c5rgfatz6.png)

Lets Check the status of our file so far 
Enter the command – “ git status”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zg2lpl4c13d3tsy6gc4e.png)
Untracked files tells us that Git can’t track our file , we need to add it to a staging area to track the file 
Enter the command – “git add .” and check the status again by entering “git status” 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1d5czvk09gdo0nwck9uj.png)
Now our file is staged.

**Step 10:** Commit our file to prepare it to be sent to github
Enter the command – “ git commit –m “(commit comment)”
Enter the command – “ git commit –m “Commiting Resumepo” 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rbvhhrdk1dvc7xnv96kl.png)

Now push to Git-hub 
Enter the command --- “git push origin master” 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s12nhoe91m2xmto27j4t.png)
Go back to Github and click “ compare & pull request”

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gn58ulckefv6offzg4lr.png)
**_
Congratulations your resumerepo is on github **__**_**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8yrtnx14drdee7u64sy.png)

Back on your desktop folder , open the folder and the file to see your “Index.html resume code” and confirm with the one on Github


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzn9oip370vz51362xyd.png)