Skip to content

Commit 92c91d2

Browse files
committed
Add study notes for 2025-08-19
1 parent a7fd91c commit 92c91d2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

liuyuhuai3.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@ Hi, my name is Nikkkky. I'm an INTP who enjoys blockchain frontend development a
1515
## Notes
1616

1717
<!-- Content_START -->
18+
# 2025-08-19
19+
20+
今天学了怎么用git提交pr=-=是的很离谱,第一次和其他人合作,不太熟悉团队配合所以降低了工作效率
21+
具体的操作步骤如下:
22+
1. Fork 仓库:
23+
在原仓库页面点击"Fork" 按钮,将原仓库复制到自己的GitHub 账号下。
24+
2. 克隆到本地:
25+
在本地使用Git 克隆你的fork 仓库,例如: git clone https://github.com/你的用户名/仓库名.git。
26+
3. 创建并切换到新分支:
27+
在本地仓库中创建一个新的分支,用于提交你的修改,例如: git checkout -b new-feature。
28+
4. 修改代码:
29+
在本地修改代码,并提交到你刚创建的分支,例如: git add . 和 git commit -m "feat: 添加新功能"。
30+
5. 推送分支到远程:
31+
将本地的新分支推送到你的fork 仓库,例如: git push origin new-feature。
32+
6. 创建Pull Request (PR):
33+
在你的fork 仓库页面,点击"New pull request",选择要合并的分支(通常是原仓库的目标分支),然后创建PR。
34+
7. 原仓库管理员审核:
35+
原仓库的管理员会审核你的PR,如果没问题,就会合并到原仓库的指定分支。
36+
总结: Fork 只是复制仓库到自己的账号,真正提交代码到原仓库需要通过Pull Request 的方式。
37+
注意: 在创建PR 之前,最好先更新你的本地分支,确保与原仓库的最新代码同步,可以使用 git pull origin <原仓库分支名> 命令。
38+
1839
# 2025-08-18
1940

2041
## 基本面——市场价值与实现价值比率MVRV

0 commit comments

Comments
 (0)