Reproduced in: http://blog.csdn.net/hanhailong726188/article/details/46738929
First step: Build a git repository
CD to your local project root directory, execute the git command
Git init1 1
Step Two: Add all the files of the project to the warehouse
git Add.1 1
If you want to add a specific file, simply change it to a
1. Install the Windows version of Git on your computer: Https://git-scm.com/downloads2. Using Git GUI to generate SSH Key3. Add SSH Key to Github4. Create a folder on your computer and use Git Shell to initializegit initgit remote add origin [emailprotected]:huhaiqng/Oracle.git5. Pull Filegit pull [emailprotected]:huha
$ git checkout work //Go to your own branch of workJob....$ git commit –a //Commit changes to the work branch$ git checkout master //Back to Main branch$ git pull //Get the latest changes remotely, no conflicts at this time$ git checkout work // Back to work Branch$
Git, github
Master haomeng is devoted to his contribution and respects the author's Labor achievements. Do not repost them.
If the article is helpful to you, you are welcome to donate to the author, support haomeng master, the amount of donation is free, focusing on your mind ^_^
I want to donate: Click to donate
Cocos2d-X source code download: point I send
Git
First, log in to Git and create a new repositorySecond, in the "Repository name" column to fill in the name of the version of the warehouse, such as "test", description column is a description, can be filled.The default access is public, click the "Creating Repository" button, that is, the version repository was created.Next, install the git client locally.First, to the official website to download the clie
0. Coordination of remote R scripts is required due to work relationships
1. register the username on GitHub and select create repository to create a repository.
2. GitHub shows:
Create a new repository on the command line
Touch readme. mdgit initgit add readme. mdgit commit-M "first commit" Git remote add OriginHttps://github.com/norsd/NDAP.gitGit
Git currently accounts for a large proportion of the source code management field, and many open-source projects have been transferred to GitHub. For example: jquery, Reddit, Sparkle, curl, Ruby on Rails, node. JS, clicktoflash, Erlang/OTP, CakePHP, redis.
This article details how to install and configure the GIT tool in Windows to connect to
Each time you open git bash, the default path is C:\Users\alan_zhu, which is cumbersome to switch to working directory (CD D:\forGit) with the CD command.Method 1, modify the GIT bash shortcut in the start in to solve the problem.Method 2, modify the GIT default path directl
Change the default path for git bashWhen you open git bash, each time you are under the C:\Uer path, you need to first switch to the path you want to work with by using the CD command (CD/F/DSS). Modifying the default path when you open Git bash allows you to switch to a dir
Git is a free, open source distributed version control system for agile and efficient processing of any or small or large project.Git is an open source distributed version control system for efficient, high-speed processing of project versioning from very small to very large. Git is an open source version control software developed by Linus Torvalds to help manage the development of the Linux kernel.Torvald
Because Debian has a variety of users, root and normal user
So I took user as a private git repository user. The root Super Administrator as a github user.
This can only be gitconfig by configuring two separate shared uses.
The first is the configuration under root, in the/root/.gitconfig
[User]
name = Rainysia
email = rainysia@gmail.com
[alias]
CO = checkout
br = Branch
ci = commit
This is because GitHub is used to manage files. Here we will briefly discuss common functions and methods. You are welcome to add them.1. Create a new project
Log on to www.github.com and click "new repository" in the lower-right corner of the page ",
(1) enter the project information: Project name: Demo
(2) Click "create repository"
So far, a project has been created on GitHub. Note that a project can only
launch a pull request on GitHub. Of course, whether the other party accepts your pull request is not necessarily.How do I delete a project after I fork it?Click on select fork Items > click on Settings logo > Click Delete this repository > confirm repository name to delete, select "I understand the Consequences,d Elete This repository "Use GitHub FAQsGit commit always appears untracked contentView folder o
By freeuniverser
I don't want to talk about the competition between Windows, Linux, and other operating systems. I just want to say what is best and how to come with you. They are all just tools, there is no need to become a slave of tools. Of course it will be better. This article uses Windows as an example to describe the simple configuration of Git and Github.
Version control tools are used to solve sync
Error messageCannot run Program "Git.exe": CreateProcess error=2, the system cannot find the file specified.SolutionsYou can tell from the error message that Webstorm cannot find the path to Git.exe.The solution is as follows:1. Download the Windows version of GitHub customer point from GitHub for Windows and install2. Configure GIT environment variablesSet the e
When you add SSH keys in the background of GitHub, if you have some problems with local git clone git://www.somesite.com/test.git, instead of access denied, you need to test this locally:
Ssh-t git@github.com
If the return is:
Permission denied (PublicKey).
Then you might want to ssh-add it locally, but before you
Git Common Commands Summarygit config--global user.name ""git config--Global User.email ""git config--list (view configuration details)Git status (view current warehouse status)git add (add files from the workspace to staging area)git
Steps :
1. Open the registry by typing ' regedit ' in ' run '.
2, find [Hkey_classes_root\directory\background].
3, under [Background] if there is no [shell], then right-new item [Shell].
4, right under [Shell]-New Item [Open in Git], the value is "Git Bash here", this is the right key menu display name.
5, in the [Shell] right-new-string value [Icon], doubl
1. PreparationDownload git for Windows (msysgit)Download tortoisegitThe installation process is simple, always click Next to finish. 2, Configuration Tortoisegit1. Double-click the Puttygen.exe generated key under the Tortoisegit installation directory. Click the Generate button. 3, copy the key (to use later), click the Save Privete Key button, select a common address to save the key. 4, double-click the tortoisegit installation directory Pagea
Take Gerrit-trigger-plugin as an example, the following links are copied directly from the corresponding page.Do not use GitHub account, open this library on GitHub home page, run the following commandRead OnlyRun command $git clone https://github.com/jenkinsci/gerrit-trigger-plugin.gitHere are three ways to register your account on
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.