Skip to content

Instantly share code, notes, and snippets.

View naowal's full-sized avatar
🏠
Code from home

Naowal Siripatana naowal

🏠
Code from home
View GitHub Profile
@naowal
naowal / learn-md.md
Created January 13, 2020 06:43 — forked from ayuthmang/README.md
Markdown ฉบับภาษาไทย

หัวเรื่อง (Headings)

# หัวเรื่อง 1
## หัวเรื่อง 2
### หัวเรื่อง 3
#### หัวเรื่อง 4
##### หัวเรื่อง 5
###### หัวเรื่อง 6
@naowal
naowal / gist:c28828306d05eac953776b6da14e0026
Last active October 11, 2017 16:32
การใช้ git : push ขึ้น Repository
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