This guide aims to document useful commands that I commonly see used in Linux and Unix environments to their closest equivalent in Powershell.
If you are like me you find yourself cloning a repo, making some proposed changes and then deciding to later contributing back using the GitHub Flow convention. Below is a set of instructions I've developed for myself on how to deal with this scenario and an explanation of why it matters based on jagregory's gist.
To follow GitHub flow you should really have created a fork initially as a public representation of the forked repository and the clone that instead. My understanding is that the typical setup would have your local repository pointing to your fork as origin and the original forked repository as upstream so that you can use these keywords in other git commands.
-
Clone some repo (you've probably already done this step)
git clone git@github...some-repo.git
<!doctype html> | |
<html> | |
<head> | |
<style> | |
.row { | |
display: flex; | |
} | |
.column { |
Helpful resources:
System/Type | Min | Max | Notes |
---|---|---|---|
.NET (DateTime) | 1/1/0001 12:00:00 AM | 12/31/9999 11:59:59 PM | |
T-SQL (datetime) | January 1, 1753 | December 31, 9999 | Default value is 1900-01-01 00:00:00 |
Oracle (DATE) | 0001-01-01 | 9999-12-31 | |
Oracle (TIME) | 00:00:00 | 24:00:00 | |
Oracle (TIMESTAMP) | 0001-01-01-00.00.00.000000 | 9999-12-31-23.59.59.999999 | |
ISO 8601 | 1583-01-19T0:00:00Z | 9999-12-31T023:59:59Z |
module Main exposing (main) | |
import Html exposing (Html, li, text, ul) | |
import Html.Attributes exposing (style) | |
-- Advent of Code 2017 - Day 1 Part 2 (http://adventofcode.com/2017/day/1) | |
main : Html msg | |
main = | |
ul [] |
module Main exposing (main) | |
import Html exposing (Html, li, text, ul) | |
import Html.Attributes exposing (style) | |
-- Advent of Code 2017 - Day 1 (http://adventofcode.com/2017/day/1) | |
-- https://ellie-app.com/hBMTrVXyna1/1 | |
main : Html msg | |
main = |