Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P Public Info
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Tutorials
  • Public Info
  • Wiki
  • new repo

Last edited by Asis Unyapoth Apr 28, 2015
Page history
This is an old version of this page. You can view the most recent version or browse the history.

new repo

วิธีการตั้งชื่อ

เลียบแบบจาก wordpress https://github.com/wordpress-mobile

วิธีการสร้าง repo ใหม่

คำสั่ง

  • mkdir lostcar-android // สร้าง directory สำหรับเก็บ source code
  • cd lostcar-android
  • git init
  • touch README.md // สร้างไฟล์
  • git add README.md
  • git commit -m "First commit"
  • git remote add origin http://172.17.17.155/asisunyapoth/lostcar-android.git / เวลาระบุ remote ให้ระบุเป็น URL มิเช่นนั้นจะระบุ login / password ไม่ได้ หรือไม่ผ่าน
  • ก่อน push เช็คอีกทีโดยใช้ git status ได้
  • git push -u origin master

วิธีการ update ข้อมูลบน repo

คำสั่ง

  • git checkout -b develop
  • git push -u origin develop
Clone repository
  • git eclipse guide
  • Home
  • new repo