Written by
in
mkdir mynewrepo cd mynewrepo git init git status
# สมมุติสร้างไฟล์ใหม่ echo "Hello World" > mynewfile.txt git add . git status
git commit -m "This is a first Commit"
git remote add origin https://github.com/your-username/mynewrepo.git git push -u origin master
จากนั้น ใส่ Username/Password ของ GitHub Account
ไปดูผลงานใน Repository “mynewrepo” ที่ https://github.com/your-username/mynewrepo
เมื่อมีการแก้ไขไฟล์
echo "Hello New World" >> mynewfile.txt git status
ทำการ เพิ่ม > Commit > Push
git add . git commit -m "This is a second Commit" git push -u origin master
วนไป
See author's posts
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Please enter an answer in digits:
Δ
Leave a Reply