Skip to content

Commit 91f7e1a

Browse files
committed
Merge pull request #117 from csyangbinbin/master
add csyangbinbin.txt
2 parents 11fa500 + 9a016f1 commit 91f7e1a

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

chenglong365.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
测试pull request
2+
==================
3+
4+
非常棒的Git教程,之前也学习过好几次Git,都是学的晕晕乎乎,始终搞不明白。直到接触到廖老师的Git教程,短短几个小时,浅显易懂,step by step的实践,开始喜欢上Git了。原来Git这么棒。多谢廖老师。Good work。

csyangbinbin.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
so simple GIT lesson!

hello.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
print('hello, world.')
4+

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Git can merge branches.
77
"test pull request."
88
update by wk
99
update by frogy
10+

xiniu.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
花了两天时间,阅读了廖雪峰先生的整个教程,对Git以及GitHub有了
2+
基本的了解,掌握了一些Git的常用操作。写了一下新得与体会,顺便
3+
实验下pull request操作:
4+
1.Git是一个分布式的版本控制系统,GitHub是一个开放式的代码托管
5+
平台;
6+
2.我们可以在GitHub上fork一个项目,然后在个人PC上为该项目修改和
7+
贡献代码,最后通过pull request操作请求项目的拥有者添加进去你的
8+
代码;
9+
3;Git的命令行控制方式和Linux系统很像啊;
10+
4暂存区的概念很重要,可以帮你理解“git add”和‘git commit’操作;
11+
5分支的优越性:我们通常只把自己的改写合并到dev上,而不是master;
12+
这样做既可以使各开发者工作互不干扰,能够随时提交,还能维护已发
13+
布的最新版本;
14+
6个人感觉checkout 这个命令很容易混淆:
15+
eg:git checkout -- readme.txt //撤销工作区的修改
16+
git checkout -b dev //新建了一个分支dev,并跳转到该分支
17+
git checkout master //重新回到主分支

youshihou.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include<stdio.h>
2+
3+
int main()
4+
{
5+
printf("hello git");
6+
7+
return 0;
8+
9+
}

0 commit comments

Comments
 (0)