From: http://www.cnblogs.com/specter45/p/github.htmlGitHub is a git-based implementation of code hosting. Git is the best version control system available today, and is much more popular than SVN.GitHub is free to use and fast and stable. Even for a paid account, the cost of not exceeding 10 US knives per month is also very cheap.With GitHub, you can archive proj
git-based project hosting platform, an open Web site. The repository we built locally using Git is a local repository, and GitHub is a remote repository, and a public repository where you can just register a github account to create a project repository on the platform. The project can be managed locally through a
1. After installing GIT, we configure the GIT secret key and first enter the following command:2. Follow the above operation and return to the key. : A secret key is generated,For example, the secret key is:3. We open a registered GitHub address. Locate the SSH option and add the secret key to the new SSH key.4.git Mai
GitHub Upload Project Method:Install Git on your computerGit Bash HereThe general process for creating and correlating local git repositories and remote repositories is:1. Initialize this local folder as a Git manageable repositoryGit initNote:
Github-Use of git
1. Download Software
Https://git-for-windows.github.io/
Ii. Installation
Installed successfully
Iii. Configuration
1. Open "Git"-> "Git Bash"
2. Configure the user
Because
This article is written in the spirit of sharing, helping others, happy yourself, helping others, and serving the people in a brand new way. After reading this article, you will learn how to back up local code to GitHub in Linux and how to clone the code that interest GitHub to your local computer. In fact, there are a bunch of tutorials on git, but they are too
repository to add a. git folder, which indicates that the local git is successfully created. Right-click Git Bash and enter the git command line. to upload the local repository to github, you also need to configure the ssh key.
3
. (This sentence can be ignored)
The window is small when you have just installed the open. If you're not used to it, you can make it bigger.
First move to the bottom right edge of the window, and then pull the window up when the arrow appears.
At the top of the window, click Icon, Options ...---Current size--OKThis will then be resized after the window is opened.
Iv. use of local git
Instead of introducing
I've been writing some toy code for myself, there is a habit of submitting backups to GitHub, because this is my own code for the toy, and does not involve multiple branches, so each time it is mechanical to knock a string of the same command, in order to improve productivity, in the MAC UNIX environment to write a bash script, Every time I submit the automation to GitH
Objective:GitHub is a git-based code hosting platform, where paid users can build private warehouses, and our general free users can only use public repositories, which means the code is open. This is enough for the average person to have a public warehouse.Steps:1. Register your account and create a warehouseThe first step to using GitHub is, of course, registering a G
window up when the arrow appears.
At the top of the window, click Icon, Options ...---Current size--OKThis will then be resized after the window is opened.
Iv. use of local git
Instead of introducing GitHub, this is done on the local computer.
Open the command line (CMD) or right-click where you want to create the repository, and then tap
One:The shell is the shell of the Linux/unix system, and it can be understood as the command line interface, where you enter and execute the command line.Bash (born again shell) is one of the shell's most commonly used shells. you run on your Linux: PS | grep $$; If you run the result as bash, it means that the current default shell is bash.The shell is basically a command interpreter, similar to the commands under DOS. It receives user commands (such
. (This sentence can be ignored)
The window is small when you have just installed the open. If you're not used to it, you can make it bigger.
First move to the bottom right edge of the window, and then pull the window up when the arrow appears.
At the top of the window, click Icon, Options ...---Current size--OKThis will then be resized after the window is opened.
Iv. use of local git
Instead of introducing
All right, apply and drop, be cautious, use Git stash list to see if the record was actually deleted
git stash clear Empty staging Area All records, drop deletes only one, drop can be followed by stash_id to delete the specified record, or delete the nearest
Conflict ResolutionSuppose I change the file test.txt at the same time on the a branch and the local branch, and when the mer
: command-line tool using Windows system;-both have: The above two are configured at the same time, but note that this will cover the Windows Find.exe and Sort.exe tools, if you do not understand these try not to choose;
Select a line break format:-Check out the conversion of Windows format to UNIX format: Wrap a line in Windows format into UNIX format to commit;-Check out the original format to UNIX format: No matter what format, all into the UNIX format of the line to commit;-No format conver
will cover the Find.exe and Sort.exe tools in Windows, if you don't understand these, try not to choose;
Select a newline format:– Check out the conversion of Windows format to UNIX format: Submit a newline in Windows format to UNIX format;-Check out the original format into UNIX format: No matter what format, all converted to UNIX-style line in the submission;-No format conversion: Do not convert, check out what, submit what;
To begin the installation:
Installation end: over;
Confi
Previously useful, but relatively few, this brother hope our project code is uploaded to GitHub, the new brother will not use GitHub, let me give science, let them get started. Just as I just reinstall the system, the process of installing git from scratch and the first push code to GitHub is recorded:1. Download and i
GitHub has been registered long ago, but its use has been ignorant, very unskilled. Until yesterday finished Baidu front-end technical college task, want to put the code to GitHub on the time to find their operations on git is so stupid, so today decided to take git to learn a good time, so that they can better use
Git's own git bash command line tool;-System with cmd: command line tools using Windows system;-both: They are configured at the same time, but note that this will cover the Find.exe and Sort.exe tools in Windows, if you don't understand these, try not to choose;
Select a newline format:-Check out the conversion of Windows format to UNIX format: a newline in Windows format in UNIX format is submitted;-Che
on.Run the command first to set your own user information when Git commits the code.git config --global user.name "username"git config --global user.email "[emailprotected]"You also need to set the Push.default parameter when used in sublime text. There is no problem when using the command-line window, when you use the push command in sublime text, you are prompted to set this parameter.The Push.default pa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.