Skip to content

Commit c1e0d92

Browse files
committed
鎻愪氦
1 parent 91112dc commit c1e0d92

File tree

3 files changed

+113
-0
lines changed

3 files changed

+113
-0
lines changed

Default.cshtml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@{
2+
Layout = "~/_SiteLayout.cshtml";
3+
Page.Title = "Home Page";
4+
}
5+
6+
@section featured {
7+
<section class="featured">
8+
<div class="content-wrapper">
9+
<hgroup class="title">
10+
<h1>@Page.Title.</h1>
11+
<h2>Modify this template to jump-start your ASP.NET Web Pages application.</h2>
12+
</hgroup>
13+
<p>
14+
To learn more about ASP.NET Web Pages, visit
15+
<a href="http://asp.net/webpages" title="ASP.NET Web Pages Website">http://asp.net/webpages</a>.
16+
The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET Web Pages.
17+
If you have any questions about ASP.NET Web Pages, visit
18+
<a href="http://forums.iis.net/1166.aspx" title="ASP.NET Web Pages Forum">our forums</a>.
19+
</p>
20+
</div>
21+
</section>
22+
}
23+
24+
<h3>We suggest the following:</h3>
25+
26+
<ol class="round">
27+
<li class="one">
28+
<h5>Getting Started</h5>
29+
ASP.NET Web Pages and the new Razor syntax provide a fast, approachable, and lightweight way to combine server code with HTML
30+
to create dynamic web content. Connect to databases, add video, link to social networking sites, and include many more features
31+
that let you create beautiful sites using the latest web standards.
32+
<a href="http://go.microsoft.com/fwlink/?LinkId=245139">Learn more…</a>
33+
</li>
34+
35+
<li class="two">
36+
<h5>Add NuGet packages and jump start your coding</h5>
37+
NuGet makes it easy to install and update free libraries and tools.
38+
<a href="http://go.microsoft.com/fwlink/?LinkId=245140">Learn more…</a>
39+
</li>
40+
41+
<li class="three">
42+
<h5>Find Web Hosting</h5>
43+
You can easily find a web hosting company that offers the right mix of features and price for your applications.
44+
<a href="http://go.microsoft.com/fwlink/?LinkId=245143">Learn more…</a>
45+
</li>
46+
</ol>

git.txt

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
首先三个区域:工作区、暂存区、仓库
2+
git与github区别:git是软件,github是仓库(该站点下也有git服务,相当于包含关系)
3+
4+
0.右键git bash here启动git
5+
6+
1.配置
7+
git config --global "用户名"
8+
git config --global "密码"
9+
10+
11+
2.初始化
12+
mkdir test --使用linux命令行创建目录
13+
cd test --转到目录(一定注意进入目录)
14+
git init --初始化
15+
16+
17+
3.常规操作
18+
git add --添加文件从工作区到暂存区,3种使用方法:git add 文件名;git add 文件1 文件2 文件3;
19+
git add . --是提交全部文件
20+
git commit -m "本次提交描述" --从暂存区提交到仓库
21+
git status --查看当前状态
22+
23+
24+
4.查看日志
25+
git log --查看日志
26+
git log --pretty=oneline --推荐这种查看日志方式
27+
git reflog --想要回到未来进行日志ID查看,再使用reset
28+
29+
git reset --hard 提交编号 --提交编号就是: 回到的位置
30+
31+
32+
5.提交与拉取(线上创建完仓库后,两种协议方式https和ssh)
33+
a、git clone "地址" --先克隆(一定注意cd进入目录中去)
34+
b、然后用git add,git commit,操作本地工作区与暂存区
35+
c、配置git隐藏的config文件的用户名和密码(.git隐藏文件夹下的config文件配置下:https://skaqi:密码@github.com/skaqi/hello-world.git)
36+
d、再用git push提交线上,git pull拉取线上
37+
38+
39+
6.分支
40+
查看分支git branch
41+
添加分支git branch 分支名称
42+
切换分支git checkout 分支名称
43+
删除分支git branch -d 分支名称
44+
合并分支git merge 被合并的分支名称
45+
46+
47+
7.可以不基于命令行,使用图形化界面
48+
a、github for desktop 官方软件
49+
b、sources tree
50+
c、tortoisegit
51+
d、右键自带的Git GUI Here 相对比较弱
52+
53+
54+
55+
56+
57+
看到好的项目时,右上角功能是?:
58+
watch是关注动态,star是点赞(可在点赞记录中找到你点赞的很多项目),fork是导入现有项目状态下的收藏(作用:修改开源项目)
59+
TEST

helloworld.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<html xmlns="http://www.w3.org/1999/xhtml">
2+
<head>
3+
<title>标题</title>
4+
</head>
5+
<body>
6+
嗨,hello world1111111!
7+
</body>
8+
</html>

0 commit comments

Comments
 (0)