Giter VIP home page Giter VIP logo

git-gui's Introduction

Hướng dẫn sử dụng git-GUI

1. Tạo repo ở máy local và đồng bộ với github.com

Tạo mới repos

  • B1: Bấm vào "+" để tạo mới (Mặc định ở thẻ Create)
  • B2: Đặt tên cho Repository
  • B3: Bấm "Create Repository" để tạo
Thêm file vào repo

  • B1: Kích chuột phải vào Repo vừa tạo, chọn Open in Explorer để mở nơi chứa Repo
  • B2: Tạo một file README.md và biên soạn bằng trình Notepad, Notepad++,... như hình

Publish lên github

Sau khi biên soạn xong xuôi, chúng ta Publish lên git như sau:

  • B1: Bấm vào tên Repo mới tạo
  • B2: Bấm vào thẻ Changes
  • B3: Đặt viết vài từ ngắn ngọn vào ô Summary, biên tập vì lý do gì VD: sửa lỗi gì, thêm bớt gì,...
  • B4: Bấm Commit để đẩy lên server github
  • B5: Publish để công khai bài

  • B5.1: Chọn tài khoản mà chúng ta muốn up lên
  • B5.2: Bấm vào Publish để hoàn tất
Sửa Repo

Sau khi sửa, viết thêm, hay xóa file ở trong Repo local. Khi muốn Sync với thư mục trên github, chúng ta chọn Repo vừa thay đổi và Sync dữ liệu. Cụ thể như sau:

  • B1: Bấm vào tên Repo cần Sync
  • B2: Bấm vào thẻ Changes
  • B3: Đặt viết vài từ ngắn ngọn vào ô Summary, biên tập vì lý do gì VD: sửa lỗi gì, thêm bớt gì,...
  • B4: Bấm Sync
  • Cuối cùng là Commit to master
  • 5: Số thay đổi trong file

2. Clone một Repository từ github về local

Khởi động, git-GUI ta sẽ thấy như hình:

  • B1: Bấm vào icon "+"
  • B2: Chọn tài khoản
  • B3: Chọn tab Clone để tải một repo về local
  • B4: Chọn repo cần Clone
  • B5: Bấm Clone tên-repo

3. Cách nhiều người up chung một Repo

  • B1: Fork repo chung về github của mình

  • B2: Vào git-GUI và Clone về local

  • B3: Chỉnh sửa file ở local và Pull request lên Admin quản lý gói

Continue...

git-gui's People

Contributors

hoangdh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.