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>

Comments

Popular posts from this blog

Blogging My Web Development Progress

PaintShop Pro