Sourcetree Setup
- Download and install Sourcetree
- Generate personal access token on GitHub: https://github.xxx/settings/tokens
- Fill in Note (something like Sourcetree or MacBook)
- Check all the checkboxes under the "Select Scopes" section
- Tip: Make sure you enter your email in the "public email" field in GitHub account settings
- Open Sourcetree to complete GitHub connection setup
- Open Preferences → Accounts → Add
- Host: GitHub Enterprise
- Website: https://github.xxx/
- Username: xxx
- Password: Personal access token copied from step 2
- Protocol: SSH
- Save
- Clone repositories into Sourcetree
(1)和git配好之后打开sourcetree,选择clone from URL;
(2)从remote里找想要拉下来的代码
(3)从mdg分支里点commit可以看到所有本地改的代码,push之前先pull一下代码,再选择想要push到git里的代码,选择完成点push。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!