This commit is contained in:
2024-01-19 15:00:44 +07:00
parent 6c02598c48
commit dd9d3b3fb6

View File

@@ -57,32 +57,3 @@
<li><a href="https://flowbite.com/docs/plugins/charts/" target="_blank"> Biểu đồ </a></li>
</ul>
<h2 id="huong-dan-su-dung-git">Hướng dẫn up code sử dụng git</h2>
<p> Các bước up code:
<ol>
<li>Lấy tất cả code từ git url về máy</li>
<li>Kiểm tra trạng thái</li>
<li>Nếu có sự thay đổi, sẽ thêm file có sự thay đổi (Sẽ được thông báo ở bước 2)</li>
<li>Tạo ghi chú (Không viết tiếng việt có dấu)</li>
<li>Upload code</li>
</ol>
</p>
<p></p>
<ol>
<li><strong>git pull (git URL) master:</strong> Lấy code về máy</li>
<li><strong>git status:</strong> Kiểm tra file nào có sự thay đổi</li>
<li><strong>git add 'tên file có sự thay đổi':</strong> Là file được báo đỏ ở git status</li>
<li><strong>git commit -m 'nội dung mô tả' :</strong> Comment nội dung </li>
<li><strong>git push origin master :</strong> Upload code</li>
</ol>
<p>VD: Upload code từ url 'https://repo.hurasoft.com/ducdt/admin_hura.git', Thêm/Sửa file README.md</p>
<ol>
<li>git pull https://repo.hurasoft.com/ducdt/admin_hura.git master</li>
<li>git status</li>
<li>git add 'README.md'</li>
<li>git commit -m 'Huong dan, quy dinh'</li>
<li>git push origin master</li>
</ol>