# หัวเรื่อง 1
## หัวเรื่อง 2
### หัวเรื่อง 3
#### หัวเรื่อง 4
##### หัวเรื่อง 5
###### หัวเรื่อง 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install git | |
git init | |
git config --global user.name "git-username" | |
git config --global user.email youremail | |
# สร้าง .gitignore ใช้บรรจุชื่อไฟล์หรือโฟลเดอร์ที่ไม่ต้องการให้git push | |
git status | |
git add -- all . | |
git commit -m "My git comment for commit" | |
#ใน github เพิ่ม Repository ใหม่ จะได้ URL https://www.github.com/<git-username>/<reponame>.git ให้ copyไว้ | |
git remote add origin https://www.github.com/<git-username>/<reponame>.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "test" |