Skip to content

simonLinn/git-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-demo

    連接repository

  • 添加一個repository
    $ git remote add < local name > < repository url >

    確認檔案都加入索引和git log,如果沒有就不能上傳到Github

  • 確認狀態
    $ git status
  • 加入索引
    $ git add .
  • 加入commit紀錄
    $ git commit -m 'Update Message'
  • 顯示歷史紀錄
    $ git log

    上傳

  • 將loacl推上master
    $ git push -u < local name > master
  • 將loacl推上dev
    $ git push -u < local name > dev

About

demo for learning github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages