Use github to upload and download files and folders under windows

Author: zccst


1, download the client, install and
generate two, one is the interface operation, the other is the command line

(1) first log in
with the

create a warehouse, and then the key is generated, I did not manually generate it at all . (The old version is to be created by yourself)

(2) Enter the following on the command line (I don't know if it is possible to do so)
git config --global user.name "Your Name Here"
git config --global user.email "your_email@example .com"

2. Create a project on github
Open the URL, then fill in the project name and other information


3. Create a repository locally
(1) Specify a path in the interface operation Create in the
upper left corner , specify the name and path

(2) On the command line Use the following command - clone the project to the local
[the most important part, similar to creating a hidden folder of .svn under the folder. git]
git clone https://github.com/gavincook/test.git
This is Generate a folder in the specified directory

(3) Enter the folder
, you can use the command

4, the submission process is:
git add .
git commit -m 'commit information'
git push origin master

5. What if I want to delete it?
Not good, let’s study it slowly in the future.


If you think the content of this article is helpful for your study, you can WeChat:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326502252&siteId=291194637