1 Star 0 Fork 0

求不得/testManagerServerSpring

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gitstudy 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
求不得 提交于 2020-01-20 13:48 +08:00 . cc
git fetch origin master:tmp
//在本地新建一个temp分支,并将远程origin仓库的master分支代码下载到本地temp分支
这里可以在webstrom 右键项目 git - compare with branch
git diff tmp
//来比较本地代码与刚刚从远程下载下来的代码的区别
git merge tmp
//合并temp分支到本地的master分支
git branch -d temp
//如果不想保留temp分支 可以用这步删除
//git 上传到远程仓库
cd到你的本地项目根目录下,执行如下git命令
git init
git add .
git commit -m "注释语句"
git remote add origin https://自己的仓库url地址
git pull origin master
git push -u origin master
分页相关
https://www.cnblogs.com/hdwang/p/7843405.html
https://www.cnblogs.com/hhhshct/p/9476542.html
-5
git branch -a 查看所有本地所程分支
git checkout -b branchtemp 创建分支
git checkout -b branchtemp origin/branchtemp 将远程分支拉取到本地分支 ,如本地分支不存在会自动创建本地分支
a.远程已有remote_branch分支并且已经关联本地分支local_branch且本地已经切换到local_branch
git push
b.远程已有remote_branch分支但未关联本地分支local_branch且本地已经切换到local_branch
git push -u origin/remote_branch
c.远程没有remote_branch分支并,本地已经切换到local_branch
git push origin local_branch:remote_branch
docker :
docker build -t testmanager-0.0.1 .
74 ls
75 docker images
76 docker run -d -p 8080:8080 cd0c4993f311
77 docker ps
78 docker logs -f f55b965fab04
79 ll
docker build -t java-temp .
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/testing2016/testManagerServerSpring.git
git@gitee.com:testing2016/testManagerServerSpring.git
testing2016
testManagerServerSpring
testManagerServerSpring
master

搜索帮助