Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
wangxinyu2
/
TrainCamp_wangxinyu_BasicLearn
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
1
Wiki
Actividad
Explorar el Código
change_file_path
git_markdown
wangxinyu
hace 1 semana
padre
07d1c0496d
commit
8d6622e776
Se han
modificado 4 ficheros
con
22 adiciones
y
3 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+0
-0
Markdown/tesk.md
+22
-3
SourceTree/git学习.md
+0
-0
SourceTree/pictures/图片1.png
+0
-0
other/hello.c
note/tesk.md → Markdown/tesk.md
Ver fichero
note/git学习.md → SourceTree/git学习.md
Ver fichero
@@ -60,16 +60,35 @@ git commit -m "name"
### sourceTree
图形化操作
#### 分支
~~~ bash
#相关操作
git branch #查看分支
git branch name #创建分支
git checkout name #切换分支
# 设置上游分支(第一次推送时)
git push -u origin 分支名
# 之后就可以简化命令
git pull
git push
~~~
图形化操作
#### 其他
* 回退版本
~~~
git status
~~~ bash
git status
git status 哈希值 #回退节点
~~~
photo/git_tab.png → SourceTree/pictures/图片1.png
Ver fichero
hello.c → other/hello.c
Ver fichero
Escribir
Vista previa
Cargando…
Cancelar
Guardar