Jamixcs
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Joshua 20221130 github創建及部署 ### 於Github 創建專案 -> Sign in [Github](https://github.com/) -> 進入預設畫面,點選左方New ![](https://i.imgur.com/iheET0Z.png) -> 進入Create a new repository ![](https://i.imgur.com/IZY5nl5.png) -> 輸入Repository name,選擇Public,Create ![](https://i.imgur.com/X75Ti54.png) -> 進入專案畫面,即完成建置 ![](https://i.imgur.com/vXLCfRP.png) <br> <br> <br> ### Clone專案至VS code中 -> 於桌面創建一個資料夾 ![](https://i.imgur.com/4ycuHUd.png) -> 拖曳至VS code中 ![](https://i.imgur.com/von0p0H.png) -> Command+J 叫出Terminal ![](https://i.imgur.com/NpRWY7x.png) -> 於Github專案頁面複製網址 ![](https://i.imgur.com/7typh3m.png) ->下指令 git clone+空格 貼上網址 ex: git clone https://github.com/Jamixcs/20221130test.git ![](https://i.imgur.com/1UpdR23.png) -> 下指令 cd+Tab鍵+空格 ex: cd 20221130test/ ![](https://i.imgur.com/ZD2QfI8.png) ->enter ->專案就clone下來了 ![](https://i.imgur.com/BOQejTg.png) 這時候左下角會有個master或main,代表你已和Git上的專案做連結,到時候推檔案就會推到這個分支中 (備註:Terminal只能左右鍵移動,不能用箭頭點選) ![](https://i.imgur.com/GQAmBEt.png) <br> <br> <br> ### Push檔案上Github -> 新增一個.html檔案 ![](https://i.imgur.com/uQAJhdp.png) <br> -> 於檔案編輯,左邊“分支”icon會有數字出現,表示有更動過 ![](https://i.imgur.com/fXmQxt1.png) <br> -> 點選進“分支”這頁 ![](https://i.imgur.com/N03KDEW.png) <br> -> 點選檔案,右方窗格會呈現更動過什麼,紅色代表刪除,綠色代表新增 ![](https://i.imgur.com/AcRgCKe.png) <br> -> 於檔案點選+ 確認要變更這些編輯的東西 ![](https://i.imgur.com/3UMkWzL.png) <br> -> 檔案會跑到Staged Changes的階層下,表示已確認變更的檔案處 ![](https://i.imgur.com/L106OEc.png) <br> -> 於Message處輸入這次變更了什麼,按下Commit,檔案就合併進入專案裡了 ![](https://i.imgur.com/uqaNsfq.png) <br> -> 已Commit ![](https://i.imgur.com/sdDVVoG.png) <br> -> 下指令 git push -> 至Github做確認,看見剛剛推上的檔案 ![](https://i.imgur.com/v6i6a4v.png) <br> <br> <br> ### 創立靜態頁面網域 -> 點選Setting ![](https://i.imgur.com/kZH7H1C.png) <br> -> 進入Github pages,點選Pages ![](https://i.imgur.com/vTQAhBJ.png) <br> -> Source 點選Deploy from a branch ![](https://i.imgur.com/MFwxgDy.png) <br> -> Branch 點選剛剛於VS code中使用的分支 ![](https://i.imgur.com/1xiKeXT.png) <br> -> Save ![](https://i.imgur.com/SDQ2o9c.png) <br> -> 設置完成 ![](https://i.imgur.com/mH1BnMb.png) <br> -> 回到Code頁面,版號左邊會出現一個小橘點,表示正在部署 ![](https://i.imgur.com/L3BJfDU.png) <br> -> 跑完之後會出現綠色勾勾,點選它,會出現幾個列表,請點選Details ![](https://i.imgur.com/R9Iu6bJ.png) <br> -> 部署成功 ![](https://i.imgur.com/jP254xc.png) <br> -> 回到Setting->Pages ![](https://i.imgur.com/eGwHbH6.png) <br> -> 就出現網址囉 ![](https://i.imgur.com/UFZvAZs.png) <br> -> Click it!You 've done well! ![](https://i.imgur.com/zB2nYLO.png)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully