Last active
January 1, 2016 16:36
-
-
Save mucsher/4498893 to your computer and use it in GitHub Desktop.
Hướng dẫn sử dụng Github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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