Skip to content

Instantly share code, notes, and snippets.

@ronaldaug
Last active January 14, 2022 03:26
Show Gist options
  • Save ronaldaug/267d930e774b3af953f16405acf1a843 to your computer and use it in GitHub Desktop.
Save ronaldaug/267d930e774b3af953f16405acf1a843 to your computer and use it in GitHub Desktop.

Revisions

  1. ronaldaug revised this gist Dec 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -66,7 +66,7 @@ git branch

    ### ႁဵတ်း branch ဢၼ်မႂ်ႇ ၸိုဝ်ႈဝႃႈ "develop"
    ```
    git branch -b develop
    git checkout -b develop
    ```

    ### ၶၢႆႉ branch မၼ်း
  2. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ git remote -v

    ### git add origin main {url} သႂ်ႇ link မၼ်းတႃႇတၢင်ႇၼိူဝ် online
    ```
    git remote add origin main https://github.com/ronaldaug/testing.git
    git remote add origin https://github.com/ronaldaug/testing.git
    ```

    ### git status ( ၸႅတ်ႈ )
  3. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ git remote -v

    ### git add origin main {url} သႂ်ႇ link မၼ်းတႃႇတၢင်ႇၼိူဝ် online
    ```
    git add origin main https://github.com/ronaldaug/testing.git
    git remote add origin main https://github.com/ronaldaug/testing.git
    ```

    ### git status ( ၸႅတ်ႈ )
  4. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,16 @@ git commit -m "Hello world"

    ## (2) လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ <a name="gitpush"></a>

    ### git remote -v ၸႅတ်ႈတူၺ်း link မၼ်းမီးဢမ်ႇမီး
    ```
    git remote -v
    ```

    ### git add origin main {url} သႂ်ႇ link မၼ်းတႃႇတၢင်ႇၼိူဝ် online
    ```
    git add origin main https://github.com/ronaldaug/testing.git
    ```

    ### git status ( ၸႅတ်ႈ )
    ```
    git pull
  5. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 9 additions and 5 deletions.
    14 changes: 9 additions & 5 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,11 @@

    # Git Cheat Sheet
    - (1) [လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ](#gitadd)
    - (2) [လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ](#gitpush)
    - (3) [လၢႆး ႁဵတ်း branch မၼ်း](#gitbranch)
    - (4) [လၢႆး လေႃး branch မၼ်း](#gitmerge)

    ## (1) လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ

    ## (1) လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ <a name="gitadd"></a>

    ### git add . ( သႂ်ႇတၢင်းမူတ်း )
    ```
    @@ -21,7 +25,7 @@ git commit -m "Hello world"
    ------------


    ## (2) လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ
    ## (2) လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ <a name="gitpush"></a>

    ### git status ( ၸႅတ်ႈ )
    ```
    @@ -43,7 +47,7 @@ git pull

    ------------

    ## (3) လၢႆး ႁဵတ်း branch မၼ်း
    ## (3) လၢႆး ႁဵတ်း branch မၼ်း <a name="gitbranch"></a>

    ### ၸၢမ်း branch မၼ်း တိုၵ်ႉတႅမ်ႈဝႆႉယူႇၼႂ်းလႂ်
    ```
    @@ -62,7 +66,7 @@ git checkout develop

    ------------

    ## (4) လၢႆး လေႃး branch မၼ်း
    ## (4) လၢႆး လေႃး branch မၼ်း <a name="gitmerge"></a>

    ### ဢဝ် develop မႃးလေႃၵၼ်တၢင်း main

  6. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,9 @@ git pull
    git pull
    ```

    ![git](https://user-images.githubusercontent.com/33022876/146677808-97a1f988-ec15-4b9b-b92e-77a7cb311e90.jpg)


    ------------

    ## (3) လၢႆး ႁဵတ်း branch မၼ်း
  7. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -40,7 +40,7 @@ git pull

    ------------

    ## လၢႆး ႁဵတ်း branch မၼ်း
    ## (3) လၢႆး ႁဵတ်း branch မၼ်း

    ### ၸၢမ်း branch မၼ်း တိုၵ်ႉတႅမ်ႈဝႆႉယူႇၼႂ်းလႂ်
    ```
    @@ -59,7 +59,7 @@ git checkout develop

    ------------

    ## လၢႆး လေႃး branch မၼ်း
    ## (4) လၢႆး လေႃး branch မၼ်း

    ### ဢဝ် develop မႃးလေႃၵၼ်တၢင်း main

  8. ronaldaug revised this gist Dec 19, 2021. 1 changed file with 39 additions and 2 deletions.
    41 changes: 39 additions & 2 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@

    # Git Cheat Sheet

    ## လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ
    ## (1) လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ

    ### git add . ( သႂ်ႇတၢင်းမူတ်း )
    ```
    @@ -21,7 +21,7 @@ git commit -m "Hello world"
    ------------


    ## လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ
    ## (2) လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ

    ### git status ( ၸႅတ်ႈ )
    ```
    @@ -38,4 +38,41 @@ git pull
    git pull
    ```

    ------------

    ## လၢႆး ႁဵတ်း branch မၼ်း

    ### ၸၢမ်း branch မၼ်း တိုၵ်ႉတႅမ်ႈဝႆႉယူႇၼႂ်းလႂ်
    ```
    git branch
    ```

    ### ႁဵတ်း branch ဢၼ်မႂ်ႇ ၸိုဝ်ႈဝႃႈ "develop"
    ```
    git branch -b develop
    ```

    ### ၶၢႆႉ branch မၼ်း
    ```
    git checkout develop
    ```

    ------------

    ## လၢႆး လေႃး branch မၼ်း

    ### ဢဝ် develop မႃးလေႃၵၼ်တၢင်း main

    တေလႆႈယူႇဝႆႉၼႂ်း main
    ```
    git merge develop
    ```

    ### ဢဝ် main မႃးလေႃၵၼ်တၢင်း develop

    တေလႆႈယူႇဝႆႉၼႂ်း develop
    ```
    git merge main
    ```


  9. ronaldaug created this gist Dec 19, 2021.
    41 changes: 41 additions & 0 deletions shan-git-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@

    # Git Cheat Sheet

    ## လၢႆးသိမ်း ဢၼ်ႁဝ်းမူၼ်ႉမေးဝႆႉၼၼ်ႉ

    ### git add . ( သႂ်ႇတၢင်းမူတ်း )
    ```
    git add .
    ```

    ### git add index.html ( သႂ်ႇ index.html ဢၼ်လဵဝ် )
    ```
    git add index.html
    ```

    ### git commit -m ( တႅမ်ႈ ၶေႃႈမၢႆမၼ်း )
    ```
    git commit -m "Hello world"
    ```

    ------------


    ## လၢႆးၸၼ် လၢႆးသူင်ႇ ၼိူဝ် github/online ၼၼ်ႉ

    ### git status ( ၸႅတ်ႈ )
    ```
    git pull
    ```

    ### git pull ( ၸၼ် )
    ```
    git pull
    ```

    ### git push ( သူင်ႇ )
    ```
    git pull
    ```