立即注册 登录
气象家园 返回首页

SkylarYoung http://bbs.06climate.com/?59257 [收藏] [复制] [分享] [RSS] 我们的征途是星辰大海!

日志

github

已有 131 次阅读2021-8-11 15:39

https://www.runoob.com/w3cnote/git-guide.html
############example############
cd LBM 
git init
git config --global user.name "xinyiyang"
git config --global user.email "yangx2@hawaii.edu"
git status
git add .
git status
git commit -m "first commit"
git remote add origin git@github.com:xinyiyang/LBM.git
git config --global remote.origin.url 'ssh://git@github.com/xinyiyang/LBM.git'
git branch 
git branch -M main 
git config -l
git push -u origin main
#############################



echo "# ENSO" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin git@github.com:xinyiyang/ENSO.git git push -u origin main
git branch # check branch 
git config -l # list all config



[yangx2@keikikane ENSO]$ git config -l
color.ui=true
user.name=xinyiyang
user.email=yangx2@hawaii.edu
http.sslverify=false
remote.origin.url=ssh://git@github.com/xinyiyang/ENSO.git
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
branch.main.remote=origin
branch.main.merge=refs/heads/main

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部