Create a Git repository under the Windows git Bash command line and update it to github, gitgithub
When I was in my sophomore year, I heard the teacher say that there was a version management tool called git. At that time, I only listened to the teacher and didn't use it because I used svn, I feel that I don't have much to do with git.
In the past few days, I have often read other people's posts in open-so
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
1. Download and install: http://jingyan.baidu.com/article/7f766dafba84f04101e1d0b0.html2. Verify the public key: https://git-scm.com/book/zh/v1/%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84-git-%e7%94%9f%e6%88%90- Ssh-%e5%85%ac%e9%92%a5HTTP://BLOG.CSDN.NET/HUSTPZB/ARTICLE/DETAILS/8230454/(reprinted from http://blog.csdn.net/hustpzb/article/details/8230454/ )(the first two have experienced there is no detailed explanation)3. Open GitHub.4. Create a war
Before uploading the code to GitHub is mainly through the client GitHub desktop or Web page, after changing the computer to feel the installation of the client is too troublesome, the way to know the command line is very necessary.The experiment here is to commit some code changes to the Json.git repository."LS" is a Linux command that is used to view files and folders in the current directory.The GIT init
1, the first set up GitHub remote Warehouse "own Baidu, online have a bunch";
2, download the gitbash installed well;
3, into the Gitbash command console, Remote Storage cloning;
Use commands are:
The clone address at the back of git clone https://github.com/XXXXXXXXXXX/XXXXXXXXXX.git//can be found in the GitHub project that you have built, "select Usehttps when choosing Clone"
Wait for the git command to
request mechanism. GitHub has already been called the code player's MySpace.Branching on GitHub is like in MySpace (or Facebook ... To make friends, you are constantly wired in the nodes of the social graph.GitHub uses a git distributed version control system, and Git was originally created by Linus Torvalds to help with Linux development, which is for Linux platforms, so git and windows are never the best
add an existing item to GitHub
Create a new repository that you can create directly on the GitHub Web site or use the Windows GitHub tool.
Enter GitHub Repository Project
Use Git bash in the GitHub Windows tool to open the project
key.PublicVerify that the Ssh-key is created locally and is successful. If successful appears, it indicates that GitHub has been successfully connected.Input-T [email protected]. COM Upload the local warehouse to GitHub.1. You will need to set up username and email before this, as GitHub will record them each time they submit--Global user. "Your name"--global
submitter
Windows opens git Bash,mac Linux to open a normal terminal. Execute the following command:
# after having a username and a mailbox please replace it with your own
$ git config--global user.name "michaelx"
$ git config--global user.email michaelx@michaelx. TechConfigure SSH Public/key: for secure communication between local and GitHub sites
# CD into own user directory
# Windows user
$ cd c:/user
Guide:GitHub is a well-known platform for it enthusiasts to share code, and it's popular, how do we usually upload our own code to GitHub to save it and provide it to others for reference?I think there are several ways to do this:1, upload the code directly on the GitHub Web page (not tried);2, using git tools, download git and then use command-line tools to upload code, this way requires more command-line
project (orgin) has been on the page fork a home page of its own project (master), there is also a working version (local, although you can see on the console is the master, but it should be understood in this way ). I recently saw many updates to the origin project. The first is update.
Git fetch xx (git address of the origin Project, which can be copied on the page): bash returns information * branch HEAD-> FETCH_HEAD
Git merge H
Build the hexo blog and deploy it on github to build the hexo blog github
I have been thinking about how to build my own blog over the past few days. Accidental access to hexo
Hexo is a fast, simple, and powerful blog framework driven by Node. js. It supports multithreading and generates hundreds of articles in just a few seconds. Supports markdown to write articles, allowing you to easily generate static W
MySpace.Branching on GitHub is like in MySpace (or Facebook ... To make friends, you are constantly wired in the nodes of the social graph.GitHub uses a git distributed version control system, and Git was originally created by Linus Torvalds to help with Linux development, which is for Linux platforms, so git and windows are never the best friends because it's not like windows 。 GitHub released
values of the shell options and positional parameters.5. Position variablesCalling parameters passed to the script from the command line in the script$, $ ... : corresponding to the command line of the 1th, 2nd ... A parameter$: Command itself$*: All parameters passed to the script, all parameters as a whole[Email protected]: All parameters passed to the script, each parameter is independent$#: Number of arguments passed in a scriptShift [n]: Kicks out n parameters6. Logic operation:: With|| :
Windows (Windows 7 System)1. Download github for Windows and install (this software installs and uninstalls a bit of egg ache, uninstall git shell will not be unloaded, but does not affect the use) ==> The two icons appearing on the desktop appear as shown, the UI Visual management tool on the left and the command Line management tool on the right; 2, connected to the GitHub account (can be connected via
label: style blog HTTP color Io OS Using Ar for
记得自己刚认识github的时候觉得他好高端,只知道好多牛人托管代码在上面,但是还觉得离我好遥远。其实不然,用起来,哇塞,真强大。
如果你现在像我当时一样茫然,那希望我的分享能帮助到你。(记录自己用起来的过程,备忘)
1.First Step:
毫无疑问的,第一步要先去下载git,你是windows的话就下windows版本的git吧~我是win8的git,下载好了之后找到Git Bash,这玩意儿就像命令行一样,你将要在这做一系列的操作;我也下载了本地的github,但是还没用起来,我感觉网页版的github就挺好用的,别忘
Reprint Please specify source: http://blog.csdn.net/dongdong9223/article/details/52609465This article is from "I'm a fish-hook blog."
GitHub is a world-renowned code hosting platform that is very handy to use today to introduce you to the GitHub account registration and the way to create a GitHub remote repository after logging in.
Visit the
well!) )
Workspace: The files that you have on your computer that you want to submit.
Staging Area: Is index it a file?
Repository: Is .git the hidden file.
Maybe you don't quite understand the content, let's start with:Open your Git , enter the command line:
$ git config--global user.name "your name"$ git config--global user.email "[Email protected]"
These two lines are set up username and are email remembered for your account, and then each time you submit
This article begins with a special statement: Since the GitHub tutorial is a GitHub sub-chapter of the GIT series, the GitHub tutorial will no longer detail the GIT operations commands and their usage, and I'll go through the git action commands as needed. If the reader needs to learn or review git commands, you can refer to the Git chapter in the GIT series tuto
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.