1 Star 0 Fork 0

DogWang/王师傅的菜鸡技术教程

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
15254942731489.html 5.94 KB
一键复制 编辑 原始数据 按行查看 历史
DogWang 提交于 2018-05-07 18:18 . 完成Git的菜鸡教学
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>
Git的掌握 -
</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="atom.xml" rel="alternate" title="" type="application/atom+xml">
<link href="asset/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="asset/stylesheets/font-awesome.min.css" media="screen, projection" rel="stylesheet" type="text/css">
<script src="asset/javascripts/jquery.min.js"></script>
<script src="asset/highlightjs/highlight.pack.js"></script>
<link href="asset/highlightjs/styles/solarized_dark.css" media="screen, projection" rel="stylesheet" type="text/css">
<script>hljs.initHighlightingOnLoad();</script>
<!--[if lt IE 9]><script src="asset/javascripts/html5.js"></script><![endif]-->
<!-- <link href='http://fonts.googleapis.com/css?family=Nunito:400,300,700' rel='stylesheet' type='text/css'> -->
<style type="text/css">
/* latin */
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 300;
src: local('Nunito-Light'), url(asset/font/1TiHc9yag0wq3lDO9cw0voX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 400;
src: local('Nunito-Regular'), url(asset/font/6TbRXKWJjpj6V2v_WyRbMX-_kf6ByYO6CLYdB4HQE-Y.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 700;
src: local('Nunito-Bold'), url(asset/font/TttUCfJ272GBgSKaOaD7KoX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
</style>
<style type="text/css">
.container .left-col{ opacity: 1;}
#pagenavi a{ font-size: 1.3em;}
#pagenavi .next:before{ top: 3px;}
#pagenavi .prev:before{ top: 3px;}
.container .mid-col .mid-col-container #content .archives .title{ font-size: 1.5em;}
.container .mid-col .mid-col-container #content article{ padding: 15px 0px;}
#header .subtitle {
line-height: 1.2em;
padding-top: 8px;
}
article pre{ background: none; border: none; padding: 0;}
article .entry-content{text-align: left;}
.share-comment{ padding: 25px 0px; clear: both;}
hr{ margin: 20px 0px;border: 0; border-top:solid 1px #ddd;}
</style>
</head>
<body>
<div class="container">
<div class="left-col">
<div class="intrude-less">
<header id="header" class="inner">
<h1><a href="index.html"></a></h1>
<p class="subtitle"></p>
<nav id="main-nav">
<ul class="main">
<li id=""><a target="_self" href="archives.html">目录</a></li>
<li id=""><a target="_self" href="15254919622349.html">第一章:简介</a></li>
<li id=""><a target="_self" href="15254954428209.html">第二章:通用技术的学习</a></li>
<li id=""><a target="_self" href="15254958459733.html"> 2.1节:Git</a></li>
</ul>
</nav>
<nav id="sub-nav">
<div class="social">
<a target="_blank" class="weibo" href="https://weibo.com/u/1746639594/home?wvr=5" title="weibo">Weibo</a>
<a target="_blank" class="github" target="_blank" href="https://github.com/DW-Under-Sunshine" title="GitHub">GitHub</a>
<a target="_blank" class="email" href="mailto:15162709915@163.com" title="Email">Email</a>
<a class="rss" href="atom.xml" title="RSS">RSS</a>
</div>
</nav>
</header>
</div>
</div>
<div class="mid-col">
<div class="mid-col-container"> <div id="content" class="inner">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="title" itemprop="name">Git的掌握</h1>
<div class="entry-content" itemprop="articleBody">
<blockquote>
<p>Git详细教程</p>
</blockquote>
<ul>
<li><a href="https://git-scm.com/book/zh/v2">官网文档</a></li>
</ul>
<p><code>友情提醒:官网文档只需要看1,2,3。你要是脑袋转不过弯你可以继续看下去</code></p>
<ul>
<li><a href="https://services.github.com/on-demand/downloads/github-git-cheat-sheet.pdf">常用语句</a></li>
</ul>
<blockquote>
<p>王师傅简易教程</p>
</blockquote>
<p><code>前提是你先看完官网文档的1,2,3节</code></p>
<ul>
<li>克隆:</li>
</ul>
<pre><code>git clone 项目地址
这句话的作用就是在你看到别人比较好的代码或者拉自己的项目到本地时使用
</code></pre>
<ul>
<li>添加文件:</li>
</ul>
<pre><code>git add 文件名
这句话的作用就是将你刚创建的文件放到Git的版本树中去,如果需要将所有文件都加入,你就在上面这句话后面加上 -A
</code></pre>
<ul>
<li>提交代码:</li>
</ul>
<pre><code>git commit -m &quot;你对这次提交所需要写的注释&quot;
代码写完了总需要提交吧,需要注意的是,你现在提交的代码只是保存在本地
</code></pre>
<ul>
<li>将本地的提交提交到云端</li>
</ul>
<pre><code>git push
</code></pre>
<ul>
<li>将云端的修改拉到本地</li>
</ul>
<pre><code>git pull
</code></pre>
<p><code>以上几行覆盖了你使用Git的80%以上的操作</code></p>
<p><a href="15254942889665.html">&gt; 点击前往-Git的应用</a></p>
</div>
</article>
<div class="share-comment">
</div>
</div> </div>
<footer id="footer" class="inner">Copyright &copy; 2014
Powered by <a target="_blank" href="http://www.mweb.im">MWeb</a> &nbsp;&nbsp;
Theme by <a href="http://shashankmehta.in/archive/2012/greyshade.html">Shashank Mehta</a>
</footer>
</div>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/dogbro/DW_skill_intro.git
git@gitee.com:dogbro/DW_skill_intro.git
dogbro
DW_skill_intro
王师傅的菜鸡技术教程
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385