Skip to content

Instantly share code, notes, and snippets.

View Martskin's full-sized avatar
🏔️
Working from home

Martin Hofmann Martskin

🏔️
Working from home
View GitHub Profile

Rebase cheatsheat

Git rebase

  • git checkout main
  • git fetch
  • git pull origin main
  • git checkout [branch name]
  • git rebase main
  • git push --force
@Martskin
Martskin / 1. SCSS Style Guide.markdown
Last active February 26, 2020 16:25
SCSS Style Guide

SCSS Style Guide

File Structure

This is an example of a component named quote.

app/assets/stylesheets/
├── application.scss
@Martskin
Martskin / React_Snippets_Reference.markdown
Last active October 13, 2017 17:44
React Snippets Reference

React Snippets

##Default Props

import React from 'react';
import ReactDOM from 'react-dom';

class Button extends React.Component {
  render() {