Skip to content

Peggy2344/ict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

GITHUB 練習

  • 初始化 - git init
  • 加檔案 - git add .
  • 提交檔案 - git commit

github指令

  • git remote add - 增加遠端節點
  • git push xxxx master - 推送到 github
let a =0;
for(let i=0;i<arr.length;i++){
    console.log(i)
}
  • git checkout master - 將分支改回 master(否則要用merge)

拉專案回本地端

  • git init
  • git remote add 專案名稱 網址
  • git remote
  • git pull 專案名稱 master <<<<<<< HEAD

clone 他人的專案

  • git clone 網址

fork 他人的專案

  • 按fork後,使用拉專案回本地端的方式下載

branch

  • git branch => 確認所在分支位置
  • git checkout + 分支名稱 => 切換所在位置

About

資通訊課程

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages