Skip to content

Instantly share code, notes, and snippets.

@mucsher
Last active January 1, 2016 16:36
Show Gist options
  • Save mucsher/4498893 to your computer and use it in GitHub Desktop.
Save mucsher/4498893 to your computer and use it in GitHub Desktop.
Hướng dẫn sử dụng Github
// 10,Jan,2013
// Hướng dẫn sử dụng Git Bash
//===========================
I. Tạo 1 Repo
Đăng nhập tài khoản của bạn trên github và chọn "Create a Repository" rùi khởi tạo 1 repo mới. sau bước này sẽ chuyển sang 1 tragn hướng dẫn cầu hình ở client
Tại máy client làm như sau:
Chuột phải vào thư mục bất kỳ và chọn "Git Bash Here".
#Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/mucsher/test.git
git push -u origin master
#Push an existing repository from the command line
git remote add origin https://github.com/mucsher/test.git
git push -u origin master
@Thinbk
Copy link

Thinbk commented Jan 1, 2016

cái đoạn này b giải thích hộ m được không
touch README.md
git init
git add README.md
vì mình làm ví dụ bị lỗi :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment