This website works better with JavaScript.
首頁
探索
說明
登入
wangxinyu2
/
TrainCamp_wangxinyu_BasicLearn
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
1
Wiki
Activity
瀏覽代碼
change_file_path
git_markdown
wangxinyu
1 周之前
父節點
07d1c0496d
當前提交
8d6622e776
共有
4 個文件被更改
,包括
22 次插入
和
3 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
查看文件
note/git学习.md → SourceTree/git学习.md
查看文件
@@ -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
查看文件
hello.c → other/hello.c
查看文件
Write
Preview
Loading…
取消
儲存