TIL - How To Git Checkout to Previous Branch Without Typing it's Name

The Usual Way Each time we need to checkout to the previous branch, we type git checkout previous-branch-name or when using ZSH Shell we can just type gco previous-branch-name. How to Git Checkout to Previous Branch in a Lazy and Fast Way Instead of the traditional way, described above, we can be lazy and fast at same time ;) Just type git checkout - or if using ZSH Shell gco -.

Git Tip - How to See What Commits are Different Between Branches

How to Check What Commits are in One Git Branch But Not in the Other Usually when comparing two branches we will use Git Diff Command that will show what lines of code are different between them. Now, how do we do when we only want to see what commits we have in one branch that are not present in other branch? So to get for branch1 a list of commits that are missing from branch2 we will use the Git Log Command.

Prestashop Tutorial - How to Update Only One Prestashop Module

This Tutorial is a detailed How To aimed for Prestashop beginners, therefore I will not expected, from you, any knowledge at all about Prestasho Admin Interface. Step by Step to Update a Module in Prestashop Version 1.6.* During this Prestashop Tutorial the Url used to reach the Prestashop Back Office will be prestashop-tutorials.dev/v1616/secret-admin-folder and your one should be your-domain.com/your-secret-admin-folder or if your store is not in the root folder then it should be like your-domain.

TIL - How to Git Reset the First Commit

The First Git Commit So, you find your self in a situation where you have created your first git commit in a brand new repo, but you have committed some files you won’t want to track. To solve this you can go the Git way or you can just recreate the Git repo. The Git Ways of Resetting the First Git Commit Using one of the Git approaches will reset the first git commit without loosing: