Posts

Showing posts with the label github

Git Pull Origin Master & other Git Overrides

git pull origin master I learned something today about editing local repo without first updating it. Good thing there was only a very minor change in the master branch. So I learned that I should update the local repo first before making a ton of changes to it. I do not yet know how just combine the two without creating creating problems in the code. I assume depends on the codes themselves and that it has to do with merging. Also: git push origin --force Just totally override the master branch with the local repo git reset --hard origin/master Just totally override the local repo with the master branch Emmet Review ul.main-nav>li*4>a result: <ul class="main-nav">     <li><a href=""></a></li>     <li><a href=""></a></li>     <li><a href=""></a></li>     <li><a href=""></a></li> </ul>

Problem: Github integration on VS Code

This got a bit frustrating. I couldn't get Github to work VS Code. I remember there was a message on it for me that says something about configuring Github but I toggled ignore and now I am having trouble getting it to work. Of course there is no extension for this because it is supposed to be already built in to VS Code. I try to search for help in Youtube, Github forums, and Stack Overflow but the advises I come across either doesn't work. Solution attempt #1 - reinstall VS Code. I want to upgrade to 64 bit anyway. Update - this didn't work. Solution attempt #2 - reading closer the sources that I've come across, it becomes apparent what I have done wrong. I installed GitHub Desktop instead of Git. LOL Update - this worked! Now I can go do those Github VS Code integration tutorials :D Bonus problem: Cannot push from VS Code to Github Solution: Uncheck in the setting -> email "Block command line pushes that expose my email"

This Simple Github Tutorial

https://guides.github.com/activities/hello-world/ About myself as was told to write about. hmanuel13 committed 11 minutes ago Why the tutorial told me to write something about myself and these are definitive written about myself texts. Just agree. Next distraction: A video tutorial about git in VS Code

Github

Today I start learning about Github. I feel like this is something I have to learn early on and post even the most rudimentary codes I have. It will help me assess my progress. I wonder why this is hidden from begginers at freeCodeCamp. I will start with a "Hello World Sandbox". I wonder what it will turn into. Maybe into "Hello Otherworld", "Hello Afterworld", who knows? Yayan's Github