This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch && git rebase origin/main | |
Fetches updated commits from repository and rebases local repository | |
git cherry-pick <commit-id> | |
Pick one commit alone from other branches or remote and apply on top of latest commit | |
git reset --soft <commit-id> | |
Resets head to commit id but the changes in the commits above it are in staged state. | |
I usually use this to combine 2-3 commits to a single commit by doing a 'git commit --amend' after doing this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body, html { | |
height: 100%; | |
margin: 0; | |
font: 400 15px/1.8 "Lato", sans-serif; | |
color: #777; |