punchy
Stay foolish Stay hungry

工程推送至github流程

2024-07-26 github学习

步骤:

1.github创建一个与工程名同名的仓库,不要勾选任何可选项

2.进入工程名目录

3.右键打开git bash

4.运行以下代码:

git init
touch README.md
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:wu-diu-diu/仓库名.git
git push -u origin main

main可以换成master

本步骤适用于将一个完善了的project上传至github的情况

Author: 武丢丢

Link: http://example.com/2024/07/26/%E5%B7%A5%E7%A8%8B%E6%8E%A8%E9%80%81%E8%87%B3github%E6%B5%81%E7%A8%8B/

Copyright: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.

< PreviousPost
GPT2环境配置
NextPost >
np.tensordot
CATALOG
  1. 1. 步骤: