最新功能 How to update a forked repo with git rebase merge origin remote feature:
git remote add upstream https://github.com/original-repo/goes-here.git| #!/bin/bash | |
| ##################################### | |
| #Author: Leon Lee # | |
| #email: [email protected] # | |
| #QQ: 730395591 # | |
| #Version: 1.0 # | |
| #Note: If you have some good ideas # | |
| # or advice, please mail me^^ # | |
| ##################################### |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| #default-example { | |
| height: 300px; | |
| width: 300px; |
| version: '3' | |
| services: | |
| uploader: | |
| image: zyfyy/php-fpm | |
| container_name: php-fpm | |
| restart: unless-stopped | |
| tty: true | |
| environment: | |
| SERVICE_NAME: php-fpm | |
| SERVICE_TAGS: dev |
| type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never }; | |
| type XOR<T, U> = (T | U) extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U; | |
| type NameOnly = { is: "NameOnly", name: string }; | |
| type FirstAndLastName = { is: "FirstAndLastName", firstname: string; lastname: string }; | |
| type Person = XOR<NameOnly, FirstAndLastName>; | |
| let person: Person; | |
| person = { is: "NameOnly", name: "Foo" }; | |
| person = { is: "FirstAndLastName", firstname: "Foo", lastname: "Bar" }; |
skip local file
use rsync --ignore-existing-files to skip local existing files
git status --porcelain # 是否干净总结 infer 在被extends判断的条件子语句中定义,返回语句中使用
// 基本extends
/**
* @example
* type A1 = 1