{"id":85040,"date":"2025-03-25T13:41:51","date_gmt":"2025-03-25T06:41:51","guid":{"rendered":"https:\/\/itviecblog.uptech.vn\/?p=85040"},"modified":"2025-06-17T15:15:16","modified_gmt":"2025-06-17T08:15:16","slug":"git-bash-shell-la-gi","status":"publish","type":"post","link":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/","title":{"rendered":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">N\u1ed9i dung b\u00e0i vi\u1ebft<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Tong_quan_ve_Git_Bash_Shell\" >T\u1ed5ng quan v\u1ec1 Git Bash Shell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Tai_sao_nen_dung_Git_Bash_Shell\" >T\u1ea1i sao n\u00ean d\u00f9ng Git Bash Shell?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Cach_cai_dat_Git_va_Git_Bash_tren_Windows\" >C\u00e1ch c\u00e0i \u0111\u1eb7t Git v\u00e0 Git Bash tr\u00ean Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Mot_so_lenh_Git_Bash_Shell_co_ban\" >M\u1ed9t s\u1ed1 l\u1ec7nh Git Bash Shell c\u01a1 b\u1ea3n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Mot_so_meo_su_dung_Git_Bash_Shell\" >M\u1ed9t s\u1ed1 m\u1eb9o s\u1eed d\u1ee5ng Git Bash Shell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Cau_hoi_thuong_gap_ve_Git_Bash_Shell\" >C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 Git Bash Shell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#Tong_ket\" >T\u1ed5ng k\u1ebft<\/a><\/li><\/ul><\/nav><\/div>\n<p><em><strong>Git Bash Shell l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean thao t\u00e1c v\u1edbi Git v\u00e0 ch\u1ea1y l\u1ec7nh Bash tr\u00ean Windows t\u01b0\u01a1ng t\u1ef1 nh\u01b0 tr\u00ean h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. V\u1edbi Git Bash Shell, b\u1ea1n c\u00f3 th\u1ec3 qu\u1ea3n l\u00fd m\u00e3 ngu\u1ed3n, \u0111i\u1ec1u h\u01b0\u1edbng file, v\u00e0 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00f4ng vi\u1ec7c d\u1ec5 d\u00e0ng h\u01a1n.\u00a0<\/strong><\/em><\/p>\n<p><span style=\"font-weight: 400;\">\u0110\u1ecdc b\u00e0i vi\u1ebft n\u00e0y \u0111\u1ec3 hi\u1ec3u r\u00f5 h\u01a1n v\u1ec1:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Git Bash Shell l\u00e0 g\u00ec?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1ea1i sao n\u00ean d\u00f9ng Git Bash?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">C\u00e1ch c\u00e0i \u0111\u1eb7t Git Bash tr\u00ean Windows<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">M\u1ed9t s\u1ed1 l\u1ec7nh Git Bash c\u01a1 b\u1ea3n<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Tong_quan_ve_Git_Bash_Shell\"><\/span><b>T\u1ed5ng quan v\u1ec1 Git Bash Shell<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>Git l\u00e0 g\u00ec?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Git l\u00e0 m\u1ed9t h\u1ec7 th\u1ed1ng qu\u1ea3n l\u00fd phi\u00ean b\u1ea3n (Version Control System &#8211; VCS) gi\u00fap theo d\u00f5i s\u1ef1 thay \u0111\u1ed5i c\u1ee7a t\u1eadp tin trong m\u1ed9t d\u1ef1 \u00e1n theo th\u1eddi gian. B\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng c\u00e1c commit \u0111\u1ec3 l\u01b0u l\u1ea1i tr\u1ea1ng th\u00e1i c\u1ee7a d\u1ef1 \u00e1n t\u1ea1i t\u1eebng th\u1eddi \u0111i\u1ec3m, Git cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng quay l\u1ea1i phi\u00ean b\u1ea3n tr\u01b0\u1edbc \u0111\u00f3 khi c\u1ea7n.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Git c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t v\u00e0 ch\u1ea1y c\u1ee5c b\u1ed9 tr\u00ean m\u00e1y t\u00ednh ho\u1eb7c s\u1eed d\u1ee5ng tr\u00ean c\u00e1c n\u1ec1n t\u1ea3ng tr\u1ef1c tuy\u1ebfn nh\u01b0 GitHub, GitLab, Bitbucket. M\u1eb7c d\u00f9 c\u00f3 nhi\u1ec1u giao di\u1ec7n \u0111\u1ed3 h\u1ecda h\u1ed7 tr\u1ee3 Git, nh\u01b0ng v\u1ec1 b\u1ea3n ch\u1ea5t Git l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 d\u00f2ng l\u1ec7nh theo phong c\u00e1ch Unix. Tr\u00ean Linux v\u00e0 macOS, Git th\u01b0\u1eddng \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t s\u1eb5n. C\u00f2n tr\u00ean Windows, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng Git Bash \u0111\u1ec3 thao t\u00e1c.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Ngo\u00e0i ra, Git l\u00e0 m\u00e3 ngu\u1ed3n m\u1edf, mi\u1ec5n ph\u00ed v\u00e0 d\u1ec5 h\u1ecdc, gi\u00fap b\u1ea5t k\u1ef3 ai c\u0169ng c\u00f3 th\u1ec3 b\u1eaft \u0111\u1ea7u s\u1eed d\u1ee5ng m\u00e0 kh\u00f4ng g\u1eb7p nhi\u1ec1u kh\u00f3 kh\u0103n.<\/span><\/p>\n<blockquote><p><em>\u0110\u1ecdc th\u00eam: <a href=\"\/blog\/tong-quan-git-la-gi\/\" target=\"_blank\" rel=\"noopener\"><strong>Git l\u00e0 g\u00ec: \u0110\u1ecbnh ngh\u0129a, Thu\u1eadt ng\u1eef c\u01a1 b\u1ea3n v\u00e0 C\u00e1ch c\u00e0i \u0111\u1eb7t<\/strong><\/a><\/em><\/p><\/blockquote>\n<h3><b>Bash Shell l\u00e0 g\u00ec?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Bash (Bourne Again Shell) l\u00e0 m\u1ed9t tr\u00ecnh th\u00f4ng d\u1ecbch l\u1ec7nh (Shell) gi\u00fap ng\u01b0\u1eddi d\u00f9ng t\u01b0\u01a1ng t\u00e1c v\u1edbi h\u1ec7 \u0111i\u1ec1u h\u00e0nh th\u00f4ng qua d\u00f2ng l\u1ec7nh thay v\u00ec giao di\u1ec7n \u0111\u1ed3 h\u1ecda. Bash Shell c\u00f3 ngu\u1ed3n g\u1ed1c t\u1eeb Bourne Shell (sh) v\u00e0 \u0111\u01b0\u1ee3c m\u1edf r\u1ed9ng v\u1edbi nhi\u1ec1u t\u00ednh n\u0103ng m\u1ea1nh m\u1ebd nh\u01b0:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">L\u1ecbch s\u1eed l\u1ec7nh: L\u01b0u l\u1ea1i c\u00e1c l\u1ec7nh \u0111\u00e3 nh\u1eadp \u0111\u1ec3 d\u1ec5 d\u00e0ng truy xu\u1ea5t l\u1ea1i.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u00f9y ch\u1ec9nh d\u00f2ng l\u1ec7nh: H\u1ed7 tr\u1ee3 ch\u1ec9nh s\u1eeda l\u1ec7nh nhanh ch\u00f3ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">M\u1ea3ng m\u1ed9t chi\u1ec1u v\u00e0 v\u00f2ng l\u1eb7p (<\/span><span style=\"font-weight: 400;\">For<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">While<\/span><span style=\"font-weight: 400;\">): Gi\u00fap x\u1eed l\u00fd d\u1eef li\u1ec7u hi\u1ec7u qu\u1ea3 h\u01a1n.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Qu\u1ea3n l\u00fd ti\u1ebfn tr\u00ecnh (Job Control): Cho ph\u00e9p ch\u1ea1y c\u00e1c ti\u1ebfn tr\u00ecnh n\u1ec1n ho\u1eb7c d\u1eebng t\u1ea1m th\u1eddi.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">H\u1ed7 tr\u1ee3 script: Vi\u1ebft t\u1eadp h\u1ee3p c\u00e1c l\u1ec7nh v\u00e0o file <\/span><span style=\"font-weight: 400;\">.sh<\/span><span style=\"font-weight: 400;\"> \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00f4ng vi\u1ec7c.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Bash l\u00e0 shell m\u1eb7c \u0111\u1ecbnh tr\u00ean h\u1ea7u h\u1ebft c\u00e1c h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux v\u00e0 macOS. Tr\u00ean Windows, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng Bash th\u00f4ng qua Git Bash ho\u1eb7c WSL (Windows Subsystem for Linux).<\/span><\/p>\n<blockquote><p><em>\u0110\u1ecdc th\u00eam: <a href=\"\/blog\/bash-shell-la-gi\/\" target=\"_blank\" rel=\"noopener\"><strong>Bash Shell l\u00e0 g\u00ec? C\u00e1c t\u00ednh n\u0103ng ch\u00ednh c\u1ee7a Bash Shell<\/strong><\/a><\/em><\/p><\/blockquote>\n<h3><b>Git Bash Shell l\u00e0 g\u00ec?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Git Bash Shell, hay Git Bash l\u00e0 m\u1ed9t m\u00f4i tr\u01b0\u1eddng d\u00f2ng l\u1ec7nh (CLI) d\u00e0nh cho Windows, cung c\u1ea5p Git v\u00e0 m\u1ed9t tr\u00ecnh th\u00f4ng d\u1ecbch Bash Shell \u0111\u1ec3 ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 ch\u1ea1y c\u00e1c l\u1ec7nh gi\u1ed1ng nh\u01b0 tr\u00ean h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. Git Bash \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t k\u00e8m theo Git for Windows, gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean v\u00e0 qu\u1ea3n tr\u1ecb vi\u00ean h\u1ec7 th\u1ed1ng thao t\u00e1c v\u1edbi Git d\u1ec5 d\u00e0ng h\u01a1n m\u00e0 kh\u00f4ng c\u1ea7n s\u1eed d\u1ee5ng giao di\u1ec7n \u0111\u1ed3 h\u1ecda.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Git Bash gi\u00fap ng\u01b0\u1eddi d\u00f9ng Windows c\u00f3 tr\u1ea3i nghi\u1ec7m t\u01b0\u01a1ng t\u1ef1 khi l\u00e0m vi\u1ec7c tr\u00ean Linux\/macOS, t\u1eadn d\u1ee5ng \u0111\u01b0\u1ee3c s\u1ee9c m\u1ea1nh v\u00e0 s\u1ef1 linh ho\u1ea1t c\u1ee7a l\u1ec7nh Bash, \u0111\u1ed3ng th\u1eddi duy tr\u00ec quy tr\u00ecnh l\u00e0m vi\u1ec7c nh\u1ea5t qu\u00e1n gi\u1eefa c\u00e1c n\u1ec1n t\u1ea3ng kh\u00e1c nhau.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Git Bash gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean c\u00f3 th\u1ec3:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Th\u1ef1c thi c\u00e1c l\u1ec7nh Git nh\u01b0 git clone, git commit, git push \u0111\u1ec3 qu\u1ea3n l\u00fd m\u00e3 ngu\u1ed3n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">S\u1eed d\u1ee5ng c\u00e1c l\u1ec7nh Bash c\u01a1 b\u1ea3n nh\u01b0 ls, cd, mkdir, rm \u0111\u1ec3 thao t\u00e1c v\u1edbi file v\u00e0 th\u01b0 m\u1ee5c<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ch\u1ea1y script Bash (.sh) \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00e1c t\u00e1c v\u1ee5<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1eadn d\u1ee5ng c\u00e1c c\u00f4ng c\u1ee5 Unix ph\u1ed5 bi\u1ebfn nh\u01b0 ssh, scp, cat, find&#8230; t\u1ea1o n\u00ean m\u1ed9t tr\u1ea3i nghi\u1ec7m l\u00e0m vi\u1ec7c t\u01b0\u01a1ng t\u1ef1 nh\u01b0 tr\u00ean Linux\/macOS.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Tai_sao_nen_dung_Git_Bash_Shell\"><\/span><b>T\u1ea1i sao n\u00ean d\u00f9ng Git Bash Shell?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Git Bash l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 quan tr\u1ecdng d\u00e0nh cho nh\u1eefng developer s\u1eed d\u1ee5ng Git \u0111\u1ec3 qu\u1ea3n l\u00fd phi\u00ean b\u1ea3n m\u00e3 ngu\u1ed3n. N\u1ebfu b\u1ea1n \u0111ang l\u00e0m vi\u1ec7c tr\u00ean Windows, Git Bash s\u1ebd gi\u00fap b\u1ea1n c\u00f3 m\u1ed9t m\u00f4i tr\u01b0\u1eddng d\u00f2ng l\u1ec7nh quen thu\u1ed9c nh\u01b0 tr\u00ean Linux\/macOS, gi\u00fap thao t\u00e1c v\u1edbi Git d\u1ec5 d\u00e0ng h\u01a1n. M\u1ed9t s\u1ed1 l\u00fd do n\u00ean s\u1eed d\u1ee5ng Git Bash nh\u01b0:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>T\u01b0\u01a1ng th\u00edch ho\u00e0n to\u00e0n v\u1edbi Git<\/b><span style=\"font-weight: 400;\">: Git Bash \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 l\u00e0m vi\u1ec7c m\u01b0\u1ee3t m\u00e0 v\u1edbi Git, gi\u00fap b\u1ea1n th\u1ef1c hi\u1ec7n c\u00e1c l\u1ec7nh nh\u01b0 <\/span><span style=\"font-weight: 400;\">git clone<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">git commit<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">git push<\/span><span style=\"font-weight: 400;\"> m\u1ed9t c\u00e1ch nhanh ch\u00f3ng v\u00e0 ch\u00ednh x\u00e1c.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Cung c\u1ea5p c\u00e1c c\u00f4ng c\u1ee5 d\u00f2ng l\u1ec7nh m\u1ea1nh m\u1ebd<\/b><span style=\"font-weight: 400;\">: Git Bash h\u1ed7 tr\u1ee3 nhi\u1ec1u l\u1ec7nh Unix nh\u01b0 <\/span><span style=\"font-weight: 400;\">ls<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">cd<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">pwd<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">grep<\/span><span style=\"font-weight: 400;\">, gi\u00fap b\u1ea1n thao t\u00e1c v\u1edbi file v\u00e0 th\u01b0 m\u1ee5c linh ho\u1ea1t h\u01a1n.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Tr\u1ea3i nghi\u1ec7m Bash tr\u00ean Windows<\/b><span style=\"font-weight: 400;\">: N\u1ebfu b\u1ea1n \u0111\u00e3 quen l\u00e0m vi\u1ec7c v\u1edbi Unix\/Linux, Git Bash mang l\u1ea1i m\u00f4i tr\u01b0\u1eddng d\u00f2ng l\u1ec7nh t\u01b0\u01a1ng t\u1ef1, gi\u00fap ng\u01b0\u1eddi d\u00f9ng d\u1ec5 d\u00e0ng th\u00edch nghi m\u00e0 kh\u00f4ng c\u1ea7n h\u1ecdc l\u1ea1i l\u1ec7nh m\u1edbi.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Cach_cai_dat_Git_va_Git_Bash_tren_Windows\"><\/span><b>C\u00e1ch c\u00e0i \u0111\u1eb7t Git v\u00e0 Git Bash tr\u00ean Windows<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>B\u01b0\u1edbc 1: T\u1ea3i xu\u1ed1ng v\u00e0 c\u00e0i \u0111\u1eb7t Git v\u00e0 Git Bash<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Truy c\u1eadp trang ch\u00ednh th\u1ee9c c\u1ee7a Git <\/span><a href=\"https:\/\/git-scm.com\/downloads\/win\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">t\u1ea1i \u0111\u00e2y<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ch\u1ecdn \u201cClick here to download\u201d \u0111\u1ec3 t\u1ea3i phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">L\u01b0u \u00fd: T\u1ea3i \u0111\u00fang phi\u00ean b\u1ea3n d\u00e0nh cho m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n. Th\u01b0\u1eddng s\u1ebd l\u00e0 b\u1ea3n 64-bit.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-85041 size-full\" src=\"\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro.jpg\" alt=\"git bash shell - itviec blog\" width=\"799\" height=\"375\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro.jpg 799w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-300x141.jpg 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-640x300.jpg 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-200x94.jpg 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-768x360.jpg 768w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-100x47.jpg 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-1-vippro-700x329.jpg 700w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">M\u1edf file c\u00e0i \u0111\u1eb7t v\u00e0 l\u00e0m theo h\u01b0\u1edbng d\u1eabn. Trong qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t, b\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn c\u00e1c t\u00f9y ch\u1ecdn sau:<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>&#8220;Use Git from the Windows Command Prompt&#8221;<\/b><span style=\"font-weight: 400;\"> \u2192 Gi\u00fap b\u1ea1n c\u00f3 th\u1ec3 ch\u1ea1y c\u00e1c l\u1ec7nh Git kh\u00f4ng ch\u1ec9 trong Git Bash m\u00e0 c\u00f2n trong <\/span><b>Command Prompt (cmd) v\u00e0 PowerShell<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>&#8220;Use MinTTY (Default Terminal for Git Bash)&#8221;<\/b><span style=\"font-weight: 400;\"> \u2192 Thi\u1ebft l\u1eadp <\/span><b>MinTTY<\/b><span style=\"font-weight: 400;\"> l\u00e0m terminal m\u1eb7c \u0111\u1ecbnh, cung c\u1ea5p tr\u1ea3i nghi\u1ec7m d\u00f2ng l\u1ec7nh t\u1ed1t h\u01a1n, h\u1ed7 tr\u1ee3 t\u00ednh n\u0103ng ch\u1ec9nh s\u1eeda l\u1ec7nh, cu\u1ed9n v\u0103n b\u1ea3n, v\u00e0 m\u00e0u s\u1eafc \u0111\u1eb9p h\u01a1n so v\u1edbi cmd.<\/span><\/li>\n<\/ul>\n<h3><b>B\u01b0\u1edbc 2: Kh\u1edfi ch\u1ea1y Git Bash<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sau khi c\u00e0i \u0111\u1eb7t, m\u1edf Start Menu, t\u00ecm ki\u1ebfm Git Bash v\u00e0 nh\u1ea5n Enter \u0111\u1ec3 m\u1edf.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-85042 size-full\" src=\"\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro.png\" alt=\"git bash shell - itviec blog\" width=\"700\" height=\"683\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro-300x293.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro-640x624.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro-200x195.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro-100x98.png 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-2-vippro-461x450.png 461w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ngo\u00e0i ra, b\u1ea1n c\u00f3 th\u1ec3 chu\u1ed9t ph\u1ea3i v\u00e0o m\u1ed9t th\u01b0 m\u1ee5c b\u1ea5t k\u1ef3 v\u00e0 ch\u1ecdn \u201cGit Bash Here\u201d \u0111\u1ec3 m\u1edf Git Bash ngay t\u1ea1i th\u01b0 m\u1ee5c \u0111\u00f3.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-85043 size-full\" src=\"\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro.png\" alt=\"git bash shell - itviec blog\" width=\"700\" height=\"678\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro-300x291.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro-640x620.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro-200x194.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro-100x97.png 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-3-vippro-465x450.png 465w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><b>B\u01b0\u1edbc 3: K\u1ebft n\u1ed1i v\u1edbi Repository<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">N\u1ebfu mu\u1ed1n s\u1eed d\u1ee5ng Git Bash \u0111\u1ec3 l\u00e0m vi\u1ec7c v\u1edbi GitHub, b\u1ea1n c\u1ea7n c\u1ea5u h\u00ecnh t\u00e0i kho\u1ea3n b\u1eb1ng l\u1ec7nh:<\/span><\/li>\n<\/ul>\n<pre>git config --global user.name \"t\u00ean_github\"\n\ngit config --global user.email \"email@example.com\"<\/pre>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">N\u1ebfu \u0111\u00e3 c\u00f3 repository tr\u00ean GitHub, b\u1ea1n c\u00f3 th\u1ec3 sao ch\u00e9p v\u1ec1 m\u00e1y b\u1eb1ng l\u1ec7nh:<\/span><\/li>\n<\/ul>\n<pre>git clone [repository_url]<\/pre>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Thay <\/span><span style=\"font-weight: 400;\">[repository_url]<\/span><span style=\"font-weight: 400;\"> b\u1eb1ng link repo tr\u00ean GitHub c\u1ee7a b\u1ea1n<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-85044 size-full\" src=\"\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro.webp\" alt=\"git bash shell - itviec blog\" width=\"700\" height=\"351\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro.webp 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro-300x150.webp 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro-640x321.webp 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro-200x100.webp 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-4-vippro-100x50.webp 100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">D\u00f9ng v\u1edbi l\u1ec7nh <\/span><span style=\"font-weight: 400;\">clone<\/span><span style=\"font-weight: 400;\">:<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-85045 size-full\" src=\"\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro.png\" alt=\"git bash shell - itviec blog\" width=\"700\" height=\"168\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro-300x72.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro-640x154.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro-200x48.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-5-vippro-100x24.png 100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Nh\u01b0 v\u1eady l\u00e0 b\u1ea1n \u0111\u00e3 c\u01a1 b\u1ea3n bi\u1ebft c\u00e1ch s\u1eed d\u1ee5ng Git v\u1edbi Git bash \u0111\u1ec3 k\u00e9o m\u1ed9t project \u0111\u01a1n gi\u1ea3n t\u1eeb Github v\u1ec1 m\u00e1y t\u00ednh.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Mot_so_lenh_Git_Bash_Shell_co_ban\"><\/span><b>M\u1ed9t s\u1ed1 l\u1ec7nh Git Bash Shell c\u01a1 b\u1ea3n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>\u0110i\u1ec1u h\u01b0\u1edbng h\u1ec7 th\u1ed1ng t\u1ec7p<\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<td><b>L\u1ec7nh<\/b><\/td>\n<td><b>Ch\u1ee9c n\u0103ng<\/b><\/td>\n<td><b>V\u00ed d\u1ee5<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">cd<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Chuy\u1ec3n th\u01b0 m\u1ee5c<\/span><\/td>\n<td><span style=\"font-weight: 400;\">cd my_project<\/span><span style=\"font-weight: 400;\"> \u2192 Di chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c <\/span><b>my_project<\/b><span style=\"font-weight: 400;\"> n\u1ebfu n\u00f3 t\u1ed3n t\u1ea1i trong th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">cd ..<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Quay l\u1ea1i th\u01b0 m\u1ee5c tr\u01b0\u1edbc \u0111\u00f3<\/span><\/td>\n<td><span style=\"font-weight: 400;\">cd ..<\/span><span style=\"font-weight: 400;\"> \u2192 Di chuy\u1ec3n l\u00ean m\u1ed9t c\u1ea5p th\u01b0 m\u1ee5c. N\u1ebfu b\u1ea1n \u0111ang \u1edf <\/span><span style=\"font-weight: 400;\">\/home\/user\/Documents<\/span><span style=\"font-weight: 400;\">, l\u1ec7nh n\u00e0y s\u1ebd \u0111\u01b0a b\u1ea1n v\u1ec1 <\/span><span style=\"font-weight: 400;\">\/home\/user<\/span><span style=\"font-weight: 400;\">.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">ls<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Li\u1ec7t k\u00ea t\u1ea5t c\u1ea3 file, th\u01b0 m\u1ee5c trong th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i<\/span><\/td>\n<td><span style=\"font-weight: 400;\">ls -l<\/span><span style=\"font-weight: 400;\"> \u2192 Hi\u1ec3n th\u1ecb danh s\u00e1ch file\/th\u01b0 m\u1ee5c trong th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i v\u1edbi th\u00f4ng tin chi ti\u1ebft nh\u01b0 quy\u1ec1n truy c\u1eadp, dung l\u01b0\u1ee3ng, ng\u00e0y t\u1ea1o.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">pwd<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Hi\u1ec3n th\u1ecb \u0111\u01b0\u1eddng d\u1eabn th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i<\/span><\/td>\n<td><span style=\"font-weight: 400;\">pwd<\/span><span style=\"font-weight: 400;\"> \u2192 Hi\u1ec3n th\u1ecb \u0111\u01b0\u1eddng d\u1eabn \u0111\u1ea7y \u0111\u1ee7 c\u1ee7a th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i, v\u00ed d\u1ee5: <\/span><span style=\"font-weight: 400;\">\/home\/user\/my_project<\/span><span style=\"font-weight: 400;\">.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><b>Qu\u1ea3n l\u00fd file v\u00e0 th\u01b0 m\u1ee5c<\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<td><b>L\u1ec7nh<\/b><\/td>\n<td><b>Ch\u1ee9c n\u0103ng<\/b><\/td>\n<td><b>V\u00ed d\u1ee5 &amp; Gi\u1ea3i th\u00edch<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">touch<\/span><\/td>\n<td><span style=\"font-weight: 400;\">T\u1ea1o file m\u1edbi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">touch index.html<\/span><span style=\"font-weight: 400;\"> \u2192 T\u1ea1o m\u1ed9t file r\u1ed7ng c\u00f3 t\u00ean <\/span><b>index.html<\/b><span style=\"font-weight: 400;\"> trong th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">mkdir<\/span><\/td>\n<td><span style=\"font-weight: 400;\">T\u1ea1o th\u01b0 m\u1ee5c m\u1edbi<\/span><\/td>\n<td><span style=\"font-weight: 400;\">mkdir my_project<\/span><span style=\"font-weight: 400;\"> \u2192 T\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c m\u1edbi c\u00f3 t\u00ean <\/span><b>my_project<\/b><span style=\"font-weight: 400;\">.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">mv<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u0110\u1ed5i t\u00ean ho\u1eb7c di chuy\u1ec3n file<\/span><\/td>\n<td><span style=\"font-weight: 400;\">mv old.txt new.txt<\/span><span style=\"font-weight: 400;\"> \u2192 \u0110\u1ed5i t\u00ean file <\/span><b>old.txt<\/b><span style=\"font-weight: 400;\"> th\u00e0nh <\/span><b>new.txt<\/b><span style=\"font-weight: 400;\">.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">rm<\/span><\/td>\n<td><span style=\"font-weight: 400;\">X\u00f3a file<\/span><\/td>\n<td><span style=\"font-weight: 400;\">rm my_file.txt<\/span><span style=\"font-weight: 400;\"> \u2192 X\u00f3a file c\u00f3 t\u00ean <\/span><b>my_file.txt<\/b><span style=\"font-weight: 400;\"> (L\u01b0u \u00fd: Kh\u00f4ng th\u1ec3 kh\u00f4i ph\u1ee5c n\u1ebfu \u0111\u00e3 x\u00f3a).<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">rm -r<\/span><\/td>\n<td><span style=\"font-weight: 400;\">X\u00f3a th\u01b0 m\u1ee5c v\u00e0 to\u00e0n b\u1ed9 n\u1ed9i dung<\/span><\/td>\n<td><span style=\"font-weight: 400;\">rm -r my_project<\/span><span style=\"font-weight: 400;\"> \u2192 X\u00f3a th\u01b0 m\u1ee5c <\/span><b>my_project<\/b><span style=\"font-weight: 400;\"> c\u00f9ng t\u1ea5t c\u1ea3 file b\u00ean trong.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">cat<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Hi\u1ec3n th\u1ecb n\u1ed9i dung file<\/span><\/td>\n<td><span style=\"font-weight: 400;\">cat index.html<\/span><span style=\"font-weight: 400;\"> \u2192 Hi\u1ec3n th\u1ecb n\u1ed9i dung c\u1ee7a file <\/span><b>index.html<\/b><span style=\"font-weight: 400;\"> tr\u1ef1c ti\u1ebfp trong terminal.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><b>C\u00e1c l\u1ec7nh Git c\u01a1 b\u1ea3n trong Git Bash\u00a0<\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<td><b>L\u1ec7nh<\/b><\/td>\n<td><b>Ch\u1ee9c n\u0103ng<\/b><\/td>\n<td><b>V\u00ed d\u1ee5\u00a0<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git init<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Kh\u1edfi t\u1ea1o Git repository<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git init<\/span><span style=\"font-weight: 400;\"> \u2192 Bi\u1ebfn th\u01b0 m\u1ee5c hi\u1ec7n t\u1ea1i th\u00e0nh m\u1ed9t repository Git, cho ph\u00e9p theo d\u00f5i thay \u0111\u1ed5i.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git clone<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sao ch\u00e9p repository t\u1eeb GitHub<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git clone https:\/\/github.com\/user\/repo.git <\/span><span style=\"font-weight: 400;\">\u2192 T\u1ea3i m\u1ed9t b\u1ea3n sao c\u1ee7a repository repo.git t\u1eeb GitHub v\u1ec1 m\u00e1y t\u00ednh.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git status<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Ki\u1ec3m tra tr\u1ea1ng th\u00e1i c\u1ee7a Git repository<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git status<\/span><span style=\"font-weight: 400;\"> \u2192 Hi\u1ec3n th\u1ecb c\u00e1c file \u0111\u00e3 thay \u0111\u1ed5i ho\u1eb7c c\u1ea7n \u0111\u01b0\u1ee3c commit.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git add<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Th\u00eam file v\u00e0o v\u00f9ng staging<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git add .<\/span><span style=\"font-weight: 400;\"> \u2192 Th\u00eam t\u1ea5t c\u1ea3 file \u0111\u00e3 ch\u1ec9nh s\u1eeda v\u00e0o v\u00f9ng ch\u1edd commit.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git commit<\/span><\/td>\n<td><span style=\"font-weight: 400;\">L\u01b0u thay \u0111\u1ed5i v\u00e0o Git<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git commit -m &#8220;C\u1eadp nh\u1eadt t\u00ednh n\u0103ng m\u1edbi&#8221;<\/span><span style=\"font-weight: 400;\"> \u2192 L\u01b0u tr\u1ea1ng th\u00e1i hi\u1ec7n t\u1ea1i c\u1ee7a m\u00e3 ngu\u1ed3n k\u00e8m theo m\u00f4 t\u1ea3 &#8220;C\u1eadp nh\u1eadt t\u00ednh n\u0103ng m\u1edbi&#8221;.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git push<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u0110\u1ea9y code l\u00ean GitHub<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git push origin main<\/span><span style=\"font-weight: 400;\"> \u2192 G\u1eedi c\u00e1c commit m\u1edbi l\u00ean nh\u00e1nh main tr\u00ean GitHub.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git pull<\/span><\/td>\n<td><span style=\"font-weight: 400;\">L\u1ea5y code m\u1edbi nh\u1ea5t t\u1eeb GitHub<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git pull origin main<\/span><span style=\"font-weight: 400;\"> \u2192 C\u1eadp nh\u1eadt m\u00e3 ngu\u1ed3n m\u1edbi nh\u1ea5t t\u1eeb GitHub v\u1ec1 m\u00e1y.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">git log<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Xem l\u1ecbch s\u1eed commit<\/span><\/td>\n<td><span style=\"font-weight: 400;\">git log &#8211;oneline &#8211;graph &#8211;all<\/span><span style=\"font-weight: 400;\"> \u2192 Hi\u1ec3n th\u1ecb l\u1ecbch s\u1eed commit ng\u1eafn g\u1ecdn theo d\u1ea1ng c\u00e2y.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"Mot_so_meo_su_dung_Git_Bash_Shell\"><\/span><b>M\u1ed9t s\u1ed1 m\u1eb9o s\u1eed d\u1ee5ng Git Bash Shell<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Gi\u1eef repository g\u1ecdn g\u00e0ng v\u00e0 c\u00f3 t\u1ed5 ch\u1ee9c<\/b><span style=\"font-weight: 400;\">: S\u1eed d\u1ee5ng c\u1ea5u tr\u00fac th\u01b0 m\u1ee5c nh\u1ea5t qu\u00e1n v\u00e0 \u0111\u1eb7t t\u00ean c\u00e1c m\u1ee5c theo quy \u01b0\u1edbc \u0111\u1ec3 d\u1ec5 d\u00e0ng qu\u1ea3n l\u00fd v\u00e0 t\u00ecm ki\u1ebfm project.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Vi\u1ebft commit message r\u00f5 r\u00e0n<\/b><span style=\"font-weight: 400;\">g: Vi\u1ebft commit message ng\u1eafn g\u1ecdn k\u00e8m theo m\u00f4 t\u1ea3 gi\u1ea3i th\u00edch nh\u1eefng thay \u0111\u1ed5i \u0111\u00e3 th\u1ef1c hi\u1ec7n, gi\u00fap cho m\u1ecdi ng\u01b0\u1eddi hi\u1ec3u \u0111\u01b0\u1ee3c c\u00f4ng vi\u1ec7c c\u1ee7a b\u1ea1n v\u00e0 gi\u00fap vi\u1ec7c kh\u1eafc ph\u1ee5c s\u1ef1 c\u1ed1 d\u1ec5 d\u00e0ng h\u01a1n.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>D\u00f9ng ph\u00edm m\u0169i t\u00ean l\u00ean\/xu\u1ed1ng (\u2191 \/ \u2193) \u0111\u1ec3 truy c\u1eadp l\u1ecbch s\u1eed l\u1ec7nh:<\/b><span style=\"font-weight: 400;\"> Kh\u00f4ng c\u1ea7n nh\u1eadp l\u1ea1i l\u1ec7nh \u0111\u00e3 s\u1eed d\u1ee5ng tr\u01b0\u1edbc \u0111\u00f3.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>D\u00f9ng t\u1ed5 h\u1ee3p ph\u00edm<\/b><span style=\"font-weight: 400;\">: D\u00f9ng <\/span><span style=\"font-weight: 400;\">Ctrl + A<\/span><span style=\"font-weight: 400;\"> \u0111\u1ec3 di chuy\u1ec3n con tr\u1ecf v\u1ec1 \u0111\u1ea7u d\u00f2ng l\u1ec7nh, <\/span><span style=\"font-weight: 400;\">Ctrl + E<\/span><span style=\"font-weight: 400;\"> \u0111\u1ec3 di chuy\u1ec3n \u0111\u1ebfn cu\u1ed1i d\u00f2ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>L\u00e0m vi\u1ec7c nh\u00f3m hi\u1ec7u qu\u1ea3 v\u1edbi Git Bash: <\/b><span style=\"font-weight: 400;\">Lu\u00f4n t\u1ea1o branch ri\u00eang cho t\u1eebng t\u00ednh n\u0103ng ho\u1eb7c bugfix, thay v\u00ec commit tr\u1ef1c ti\u1ebfp v\u00e0o nh\u00e1nh ch\u00ednh (<\/span><span style=\"font-weight: 400;\">main<\/span><span style=\"font-weight: 400;\">\/<\/span><span style=\"font-weight: 400;\">master<\/span><span style=\"font-weight: 400;\">) v\u00e0 ch\u1ec9 merge branch khi \u0111\u00e3 ho\u00e0n t\u1ea5t v\u00e0 ki\u1ec3m tra k\u1ef9 l\u01b0\u1ee1ng.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>S\u1eed d\u1ee5ng file .gitignore: <\/b><span style=\"font-weight: 400;\">Khi c\u1ea7n lo\u1ea1i tr\u1eeb c\u00e1c file kh\u00f4ng c\u1ea7n theo d\u00f5i (nh\u01b0 file c\u1ea5u h\u00ecnh c\u00e1 nh\u00e2n, th\u01b0 m\u1ee5c build, node_modules)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>S\u1eed d\u1ee5ng git stash: <\/b><span style=\"font-weight: 400;\">Khi c\u1ea7n l\u01b0u t\u1ea1m th\u1eddi c\u00e1c thay \u0111\u1ed5i ch\u01b0a commit khi c\u1ea7n chuy\u1ec3n sang vi\u1ec7c kh\u00e1c.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Cau_hoi_thuong_gap_ve_Git_Bash_Shell\"><\/span><b>C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 Git Bash Shell<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>Git shell vs Git bash kh\u00e1c nhau nh\u01b0 th\u1ebf n\u00e0o?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Git Shell l\u00e0 m\u00f4i tr\u01b0\u1eddng d\u00f2ng l\u1ec7nh cho Git tr\u00ean Windows, th\u01b0\u1eddng \u0111i k\u00e8m v\u1edbi GitHub for Windows (\u0111\u00e3 l\u1ed7i th\u1eddi). Trong khi \u0111\u00f3, Git Bash l\u00e0 m\u1ed9t terminal m\u00f4 ph\u1ecfng Bash tr\u00ean Windows, h\u1ed7 tr\u1ee3 c\u1ea3 l\u1ec7nh Git v\u00e0 l\u1ec7nh Bash, gi\u00fap thao t\u00e1c gi\u1ed1ng Linux h\u01a1n.<\/span><\/p>\n<h3><b>Git Bash c\u00f3 ph\u1ea3i l\u00e0 Terminal kh\u00f4ng?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Git Bash kh\u00f4ng ph\u1ea3i l\u00e0 Terminal, m\u00e0 l\u00e0 m\u1ed9t Shell ch\u1ea1y b\u00ean trong Terminal. C\u00f2n terminal l\u00e0 \u1ee9ng d\u1ee5ng giao di\u1ec7n d\u00f2ng l\u1ec7nh c\u00f3 th\u1ec3 ch\u1ea1y nhi\u1ec1u lo\u1ea1i Shell nh\u01b0 Bash, PowerShell ho\u1eb7c CMD. Git Bash \u0111\u01a1n gi\u1ea3n l\u00e0 m\u1ed9t m\u00f4i tr\u01b0\u1eddng Bash gi\u1ea3 l\u1eadp tr\u00ean Windows, gi\u00fap ch\u1ea1y l\u1ec7nh Git v\u00e0 Unix d\u1ec5 d\u00e0ng h\u01a1n.<\/span><\/p>\n<h3><b>Git Bash c\u00f3 th\u1ec3 ch\u1ea1y l\u1ec7nh <\/b><b>sudo<\/b><b> kh\u00f4ng?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Git Bash kh\u00f4ng h\u1ed7 tr\u1ee3 <\/span><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\">, v\u00ec Windows kh\u00f4ng c\u00f3 h\u1ec7 th\u1ed1ng quy\u1ec1n root nh\u01b0 Linux. N\u1ebfu c\u1ea7n ch\u1ea1y Git Bash v\u1edbi quy\u1ec1n admin, b\u1ea1n c\u00f3 th\u1ec3 <\/span><b>chu\u1ed9t ph\u1ea3i v\u00e0o Git Bash \u2192 ch\u1ecdn &#8220;Run as Administrator&#8221;<\/b><span style=\"font-weight: 400;\"> \u0111\u1ec3 c\u00f3 quy\u1ec1n cao h\u01a1n.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Tong_ket\"><\/span><b>T\u1ed5ng k\u1ebft<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Git Bash Shell mang l\u1ea1i m\u00f4i tr\u01b0\u1eddng l\u00e0m vi\u1ec7c d\u00f2ng l\u1ec7nh m\u1ea1nh m\u1ebd tr\u00ean Windows, h\u1ed7 tr\u1ee3 c\u1ea3 l\u1ec7nh Git v\u00e0 Bash, gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean thao t\u00e1c v\u1edbi Git m\u1ed9t c\u00e1ch hi\u1ec7u qu\u1ea3 h\u01a1n. Vi\u1ec7c n\u1eafm v\u1eefng c\u00e1c l\u1ec7nh c\u01a1 b\u1ea3n, c\u00e1ch s\u1eed d\u1ee5ng Git Bash Shell v\u00e0 c\u00e1c m\u1eb9o t\u1ed1i \u01b0u h\u00f3a s\u1ebd gi\u00fap ng\u01b0\u1eddi d\u00f9ng c\u1ea3i thi\u1ec7n quy tr\u00ecnh l\u00e0m vi\u1ec7c v\u00e0 qu\u1ea3n l\u00fd m\u00e3 ngu\u1ed3n t\u1ed1t h\u01a1n.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git Bash Shell l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean thao t\u00e1c v\u1edbi Git v\u00e0 ch\u1ea1y l\u1ec7nh Bash tr\u00ean Windows t\u01b0\u01a1ng t\u1ef1 nh\u01b0 tr\u00ean h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. V\u1edbi Git Bash Shell, b\u1ea1n c\u00f3 th\u1ec3 qu\u1ea3n l\u00fd m\u00e3 ngu\u1ed3n, \u0111i\u1ec1u h\u01b0\u1edbng file, v\u00e0 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00f4ng vi\u1ec7c d\u1ec5 d\u00e0ng h\u01a1n.\u00a0 \u0110\u1ecdc [&hellip;]<\/p>\n","protected":false},"author":209,"featured_media":85263,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":"","footnotes":""},"categories":[109],"tags":[],"class_list":["post-85040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chuyen-mon-it"],"blocksy_meta":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z - ITviec Blog<\/title>\n<meta name=\"description\" content=\"T\u00ecm hi\u1ec3u chi ti\u1ebft Git Bash Shell \u2013 gi\u00fap ch\u1ea1y Git v\u00e0 Bash tr\u00ean Windows nh\u01b0 Linux, v\u1ec1 c\u00e1ch c\u00e0i \u0111\u1eb7t, l\u1ec7nh c\u01a1 b\u1ea3n v\u00e0 s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z\" \/>\n<meta property=\"og:description\" content=\"Git Bash Shell l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean thao t\u00e1c v\u1edbi Git v\u00e0 ch\u1ea1y l\u1ec7nh Bash tr\u00ean Windows t\u01b0\u01a1ng t\u1ef1 nh\u01b0 tr\u00ean h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. V\u1edbi Git\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/\" \/>\n<meta property=\"og:site_name\" content=\"ITviec Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ITviec\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-25T06:41:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-17T08:15:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"337\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"M\u1ef9 Duy\u00ean\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ITviec\" \/>\n<meta name=\"twitter:site\" content=\"@ITviec\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"M\u1ef9 Duy\u00ean\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 ph\u00fat\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z - ITviec Blog","description":"T\u00ecm hi\u1ec3u chi ti\u1ebft Git Bash Shell \u2013 gi\u00fap ch\u1ea1y Git v\u00e0 Bash tr\u00ean Windows nh\u01b0 Linux, v\u1ec1 c\u00e1ch c\u00e0i \u0111\u1eb7t, l\u1ec7nh c\u01a1 b\u1ea3n v\u00e0 s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/","og_locale":"vi_VN","og_type":"article","og_title":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z","og_description":"Git Bash Shell l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean thao t\u00e1c v\u1edbi Git v\u00e0 ch\u1ea1y l\u1ec7nh Bash tr\u00ean Windows t\u01b0\u01a1ng t\u1ef1 nh\u01b0 tr\u00ean h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. V\u1edbi Git","og_url":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/","og_site_name":"ITviec Blog","article_publisher":"https:\/\/www.facebook.com\/ITviec","article_published_time":"2025-03-25T06:41:51+00:00","article_modified_time":"2025-06-17T08:15:16+00:00","og_image":[{"width":640,"height":337,"url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg","type":"image\/jpeg"}],"author":"M\u1ef9 Duy\u00ean","twitter_card":"summary_large_image","twitter_creator":"@ITviec","twitter_site":"@ITviec","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"M\u1ef9 Duy\u00ean","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"13 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#article","isPartOf":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/"},"author":{"name":"M\u1ef9 Duy\u00ean","@id":"https:\/\/itviec.com\/blog\/#\/schema\/person\/73733c0725c7e39e696a896bd1abe2d7"},"headline":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z","datePublished":"2025-03-25T06:41:51+00:00","dateModified":"2025-06-17T08:15:16+00:00","mainEntityOfPage":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/"},"wordCount":3012,"publisher":{"@id":"https:\/\/itviec.com\/blog\/#organization"},"image":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg","articleSection":["Chuy\u00ean m\u00f4n IT"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/","url":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/","name":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z - ITviec Blog","isPartOf":{"@id":"https:\/\/itviec.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#primaryimage"},"image":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg","datePublished":"2025-03-25T06:41:51+00:00","dateModified":"2025-06-17T08:15:16+00:00","description":"T\u00ecm hi\u1ec3u chi ti\u1ebft Git Bash Shell \u2013 gi\u00fap ch\u1ea1y Git v\u00e0 Bash tr\u00ean Windows nh\u01b0 Linux, v\u1ec1 c\u00e1ch c\u00e0i \u0111\u1eb7t, l\u1ec7nh c\u01a1 b\u1ea3n v\u00e0 s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3.","breadcrumb":{"@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#primaryimage","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2025\/03\/git-bash-shell-vippro-scaled-1.jpg","width":640,"height":337,"caption":"git bash shell - itviec blog"},{"@type":"BreadcrumbList","@id":"https:\/\/itviec.com\/blog\/git-bash-shell-la-gi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Chuy\u00ean m\u00f4n IT","item":"https:\/\/itviec.com\/blog\/chuyen-mon-it\/"},{"@type":"ListItem","position":2,"name":"Git Bash Shell: H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Git Bash hi\u1ec7u qu\u1ea3 A-Z"}]},{"@type":"WebSite","@id":"https:\/\/itviec.com\/blog\/#website","url":"https:\/\/itviec.com\/blog\/","name":"ITviec Blog","description":"IT Jobs &amp; People in Vietnam","publisher":{"@id":"https:\/\/itviec.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itviec.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/itviec.com\/blog\/#organization","name":"ITviec","url":"https:\/\/itviec.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2018\/12\/itviec-black-square-facebook.png","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2018\/12\/itviec-black-square-facebook.png","width":1800,"height":1800,"caption":"ITviec"},"image":{"@id":"https:\/\/itviec.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ITviec","https:\/\/x.com\/ITviec","https:\/\/www.linkedin.com\/company\/itviec","https:\/\/www.youtube.com\/channel\/UCYthAQ3bcGr57M_ag5gHDvQ"]},{"@type":"Person","@id":"https:\/\/itviec.com\/blog\/#\/schema\/person\/73733c0725c7e39e696a896bd1abe2d7","name":"M\u1ef9 Duy\u00ean","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/Author_Duyen-Tran-120x120.jpg","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/Author_Duyen-Tran-120x120.jpg","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/Author_Duyen-Tran-120x120.jpg","caption":"M\u1ef9 Duy\u00ean"},"url":"https:\/\/itviec.com\/blog\/author\/my-duyen\/"}]}},"_links":{"self":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts\/85040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/users\/209"}],"replies":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/comments?post=85040"}],"version-history":[{"count":3,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts\/85040\/revisions"}],"predecessor-version":[{"id":88202,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts\/85040\/revisions\/88202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/media\/85263"}],"wp:attachment":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/media?parent=85040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/categories?post=85040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/tags?post=85040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}