把code上傳到git

先到你想上傳的資料夾裡面
git init

然後add一個file
git add README

通知git,現在是第一次送出
git commit -m 'first commit'

上傳到某一個人的git Repository
git remote add origin git@github.com:xwaynec/test.git

push上git
git push origin master



    發表迴響

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / 變更 )

    Twitter picture

    You are commenting using your Twitter account. Log Out / 變更 )

    Facebook照片

    You are commenting using your Facebook account. Log Out / 變更 )

    連結到 %s


  •  

    三月 2009
         
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • 標籤

  • 網誌分頁


Follow

Get every new post delivered to your Inbox.