I have been wondering how to download local files for Gethub in the morning after class and have not eaten lunch. Fortunately, the solution, feeling quite a sense of accomplishment. O (∩_∩) o haha ~
Good gossip does not say, say the point.
One, the installation of Git
Baidu Cloud:http://pan.baidu.com/s/1mhFy8Ik
- Open and then click Next
2. Continue to next.
3. Continue to next.
4. Select the first line is the default Windows use Select the second line is Windows and Linux can click Next
5. You can do it without a tube, choose the default and click Next
6. Eject after successful installation
7 when you find your Git folder, right-click on a few more git options
Git GUI here
Git BASH here
And a few others I will not fight because the right button can not capture the screen.
When you see a few git options, the installation is successful.
Second, download the tutorial
Before uploading, you must first apply for a GitHub account, after the application of the account to establish a warehouse click Create repository
1, Gitgit Upload method
1. First prepare a folder for downloading files
2.task of files inside
3.Example inside the file text inside the content can be casually written
4. Right-click inside the task file
6. Git will then appear, you must have git init here, or Git branch will not be able to proceed to the next step.
7. Click on the right button to click on the Git GUI and click on the remote----"ADD
8. It will then appear particularly important. The name is your own built warehouse, location is the task page URL, click Add
9.location:
10. Click Add--"Click Cache Changes-" signature-"Submit-" upload
11. Click Upload to appear
12. After clicking Upload, you will be prompted to enter your account number and password, and after successful, it appears
13. Refresh, view your Gethub's warehouse will appear upload files
If the following issues occur
1. Back to the desktop--"right-click" Git bash appears
2. Enter the content to configure the configuration successfully, re-upload
2. Git Bash Here method
1. Open the previously created task file, in the file, right-click on git Bash here, the following page appears
2. Type git clone https://github.com/dirkhe1051931999/task will find the Create a new folder--task, move the folder other than the task into the task,--" Enter and then click Enter
3. Type the CD task again and you will find that a (master)----click Enter
4. Type git add again. (Don't forget.) Before, there are spaces)--click Enter after entering
5. Continue typing git commit-m "First commit" -click Enter
6. The last type is also the most error-prone step git push-u Origin master --click Enter and look first
7. The most likely problem is the input password when you find the input characters, in fact, git Bash here password is not visible, you have to enter the line to ensure that everyone account security yo (????)??
8. Then check your git hub and you'll find your files uploaded.
Summarize:
Finally everyone can upload their own local files, both methods can, in fact, I still recommend the second kind of, because the second is the method of code to call git inside the file, more intuitive, very good understanding. As a future programmer, I still like code codes. The second method is for reference only, want to learn words, also can look at ha.
Common problems and Git installation tutorials are included in two ways GitHub uploads files frequently