How to use git to upload your repository to github(tutorial for newbies)

1. First of all, you need a Github account number
https://github.com/
 
2. To use Git, you need to install the Git tool first. Here is the download address. After downloading, you can install it directly:
https://git-for-windows.github.io/
 
3. Create a new project

 
 
 
 
4. Fill in the project information and click after the completion
 

 
 
5. Copy the project address
 

 
6. The next step is operating in your local computer.  If you have successfully installed Git before, select Git Bash HERE in the right mouse key blank and enter the following interface. Test _ Bluetooth is my directory file name.
 

 
 
7.https://github.com/CKTim/BlueTooth.git is replaced by the address you copied earlier
 

 
 
8.You will find some files in your local computer
 
9.Type command cd Test and enter Test file
 

 
10: type commands
git add

git commit -m "first commit"

git push -u origin master


 
 

 

 
 
 
 
 
 
0
Donate 06-09-18

0 comments

If you wanna get more accurate answers,Please Login or Register