关闭
Hit
enter
to search or
ESC
to close
May I Suggest ?
#leanote #leanote blog #code #hello world
柯仓无居所
Home
Archives
Tags
Search
github操作手记
? git ?
? git初始化 ?
? git强制提交 ?
621
0
0
swimming
? git ?
? git初始化 ?
? git强制提交 ?
##git初始化 --- 1、初始化 ```bash $ git init ``` 2、添加到工作区 ```bash $ git add * ``` 3、提交到缓存区 ```bash $ git commit -m 'first commit' ``` 4、关联远端git ```bash $ git remote add origin git@server-name:path/repo-name.git; ``` 5、提交 ```bash # 如果远端有内容,必须使用[-f]参数强制提交 $ git push -u origin master -f ```
觉得不错,点个赞?
提交评论
Sign in
to leave a comment.
No Leanote account ?
Sign up now
.
0
条评论
More...
文章目录
No Leanote account ? Sign up now.