[javasterdi/Git/Mark Down]1ダウンジャケットとダウンジャケット


2021-java-study


2021 Javaラーニングストレージ

Gimbashコマンド


コマンドコマンドコマンド


CTRL+L:画面初期化
$cd[移動するサブディレクトリ名]:移動ディレクトリ
$mkdir[現在のパスで作成されたディレクトリ名]:ディレクトリの作成
$git rm-r[削除するディレクトリ名]:ディレクトリを削除
$ls:ディレクトリリストの参照
$cat:ファイル内容の表示

リモート・リポジトリの接続コマンド


$git remote add origin[独自のハブリモートストレージアドレス]:リモートストレージにハブリモートストレージ接続情報を追加
$git init:リモート・リポジトリの初期化
$git remote show[リモート・リポジトリ名]:リモート・リポジトリ接続情報の表示
$git remote-v:リモート・リポジトリ接続の表示
$git remote rm[削除するリポジトリ名]:リモートリポジトリを削除

コミット履歴の表示


$git status:ハブコミットステータスの表示
$git log:コミット履歴の詳細の表示

バニラの提出


$git pull[リモート・リポジトリ名][ブランチ名]:リモート・リポジトリの読み込み変更-PuLL
$git push[リモート・リポジトリ名][ブランチ名]:リモート・リポジトリ変更のアップグレード-PUSH
$git commit-m"[説明の発行]:変更を保存-COMMIT

ブランチ


$git branch:ブランチのチェック
$git branch-r:サーバブランチの確認

ダウンスケールの使用方法


見出し

  • は、1~6個の記事タイトル
  • をサポートします.
    # This is a H1
    ## This is a H2
    ### This is a H3
    #### This is a H4
    ##### This is a H5
    ###### This is a H6

    目次

  • 数字と点数順に
  • をリストする
    1. 첫번째
    2. 두번째
    3. 세번째
  • 無秩序リスト(箇条書き*、+、-サポート)
  • * 1단계
     - 2단계
      + 3단계
  • 第1段階
  • 第2期
  • 第3期
  • コード#コード#

  • 4スペースまたはタブを使用して、インデントされていない行に遭遇するまで
  • に変換します.
    normal paragraph
    
    	code block
    
    end
    実際に適用する場合
    normal paragraph
    code block
    end
    1行に分けて書かないと、認識が悪い.

    コードブロック

    {code}
    とコードブロックコード(``)
    <pre>
    <code>
    public class MyApplication {
      public static void main(String[] args) {
        System.out.println("Hello, World");
      }
    
    }
    </code>
    </pre>
    public class BootSpringBootApplication {
    public static void main(String[] args) {
    System.out.println("Hello, Honeymon");
    }
    }

    水平線

  • 水平線を作成します.ページング
  • によく使用される
    * * *
    ***
    *****
    - - -
    -------------------
  • リンク

  • 参照リンク
  • [link keyword][id]
    
    [id]: URL "Optional Title here"
    
    // code
    Link: [Google][googlelink]
    
    [googlelink]: https://google.com "Go google"
    例:
    link keyword
    //code
    Link: Google
  • 外部リンク
  • 사용문법: [Title](link)
    적용예: [Google](https://google.com, "google link")
    例:
    使用法:Title
    例:Google
  • 自動接続
  • 일반적인 URL 혹은 이메일주소인 경우 적절한 형식으로 링크를 형성한다.
    
    * 외부링크: <http://example.com/>
    * 이메일링크: <[email protected]>

    強調する

    *single asterisks*
    _single underscores_
    **double asterisks**
    __double underscores__
    ~~cancelline~~
    例:
    single asterisks
    single underscores
    double asterisks
    double underscores
    cancelline

    イメージ

    ![Alt text](/path/to/img.jpg)
    ![Alt text](/path/to/img.jpg "Optional title")
    サイズの設定:
    <img src="/path/to/img.jpg" width="450px" height="300px" title="px(픽셀) 크기 설정" alt="RubberDuck"></img><br/>
    <img src="/path/to/img.jpg" width="40%" height="30%" title="px(픽셀) 크기 설정" alt="RubberDuck"></img>

    折り返し


    スペースが
  • 3を超えると、
  • が改行されます.

    ブランチの作成方法


    ブランチの作成

    $ git branch TEST // TEST라는 이름의 branch 생성
    $ git checkout branchName // master에서 TEST branch로 변경
    
    //branch 생성 & checkout 한번에 하려면
    $git checkout -b branchName

    ブランチにプッシュ

    $git add test.txt
    $git commit -m "add text file"
    $git push origin TEST
    PushでOrigin[branchName]を使用