-
เรื่องล่าสุด
คลังเก็บ
- กุมภาพันธ์ 2021
- ธันวาคม 2020
- กรกฎาคม 2020
- มิถุนายน 2020
- กุมภาพันธ์ 2020
- มกราคม 2020
- มีนาคม 2015
- มกราคม 2015
- ธันวาคม 2014
- พฤศจิกายน 2014
- ตุลาคม 2014
- กันยายน 2014
- สิงหาคม 2014
- กรกฎาคม 2014
- มิถุนายน 2014
- พฤษภาคม 2014
- เมษายน 2014
- มีนาคม 2014
- กุมภาพันธ์ 2014
- มกราคม 2014
- ธันวาคม 2013
- พฤศจิกายน 2013
- ตุลาคม 2013
- กันยายน 2013
- สิงหาคม 2013
- กรกฎาคม 2013
- มิถุนายน 2013
- พฤษภาคม 2013
- เมษายน 2013
- มีนาคม 2013
- กุมภาพันธ์ 2013
- มกราคม 2013
- ธันวาคม 2012
- พฤศจิกายน 2012
- ตุลาคม 2012
Monthly Archives: สิงหาคม 2014
hack css ie10
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .your_classname { padding-right: 13px; } }
Posted in knowledge
Leave a comment
tortoisegit add tag for versioning
http://stackoverflow.com/questions/6158598/how-to-use-tags-for-versioning-in-git-gui [cc] If you want to add tag with Tortoise GIT: show log right click on commit and create tag at this version push with checked include tags If you want to remove tag via Tortoise GIT: show log right … Continue reading
Posted in git, knowledge
Leave a comment
git ignore some files during a merge
http://stackoverflow.com/questions/3868491/git-ignore-some-files-during-a-merge-keep-some-files-restricted-to-one-branch [cc] Let’s say you want to exclude the file config.php On branch A: Create a file named ‘.gitattributes’ in the same dir, with this line: config.php merge=ours. This tells git what strategy to use when mergin the file. In … Continue reading
Posted in git, knowledge
Leave a comment
git rollback by SHA hash
http://stackoverflow.com/questions/1064361/unable-to-show-a-git-tree-in-terminal [cc] git log branch_name [/cc] http://stackoverflow.com/questions/1895059/revert-to-a-commit-by-a-sha-hash-in-git [cc] # Reset the index to the desired tree git reset 56e05fced # Update working copy to reflect the new commit git reset –hard # Push force to update rollback to remote git … Continue reading
Posted in git, knowledge
Leave a comment
tortoiseGit rollback
สมมติเรามีการ merge branch ขึ้น remote server แล้วเกิด Bug อะไรซักอย่าง แล้วเราตัดสินใจจะ rollback ใช้ชุด code version ก่อนหน้านี้ ให้ทำดังนี้(อ่านต่อ..)
Posted in git, knowledge
Leave a comment