- 博客(10)
- 资源 (1)
- 收藏
- 关注
转载 github删除已经push到服务器上的commit的方法
github删除已经push到服务器上的commit的方法使用两条指令:git reset --hard <commit_id>git push origin HEAD --force其中commit_id是你想回到的commit的id(即想删除的commit的前一个commit),可以在github.com的commit中查看。不向静中参妙理,纵然颖悟也虚浮 立乎...
2019-06-20 14:50:35
5799
3
转载 Mac git 上传大于100m的文件
GitHub不允许直接上传大文件(超过100M)的文件到远程仓库,若要想继续提交可以尝试使用大文件支持库:https://git-lfs.github.com安装git - lfs到本机1.选择您希望Git LFS管理的文件类型(或直接编辑.gitattributes)。您可以随时配置其他文件扩展名。这一步成功后会生成一个gitattributes文件git lfs track “* ...
2019-06-20 14:49:47
1075
转载 分割视图器UISplitViewController初使用
分割视图控制器(UISplitViewController)这种控制器只能用于iPad,它可以在iPad屏幕中显示两个不同的场景:在横向模式下,左边显示一个表,供用户选择;用户选择表中的元素后,详细视图将显示该元素的详细信息。如果iPad被旋转到纵向模式,表将消失,而详细视图将填满整个屏幕;要进行导航,用户可触摸一个工具栏按钮,这将显示一个包含表的弹出框。默认情况下,UISplitVi
2017-03-02 08:30:28
518
原创 c++课程设计
// 职工综合信息管理系统.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include#include using namespace std;typedef struct node //定义员工结构体{ char num[10]; char
2014-06-21 14:09:11
574
1
原创 第六章作业
练习1#include "stdafx.h"#include #include using namespace std; int main() { int a[10],*p; p=a; for(int i=0;i *(p+i)=i*2+2; cout for(i=0;i {
2014-06-14 16:33:59
446
1
原创 第五章(2)
练习2#include "stdafx.h"#include using namespace std; long power(int base,int exponent); int main() { int a,b,c; cout cin>>a>>b; c=power(a,b); cout
2014-06-11 12:59:40
468
1
原创 第四章例题
例3.1 无格式输入cout#include using namespace std; void main() { cout cout}
2014-04-21 18:47:05
564
1
原创 第四周作业
例题3.5#include#includeusing namespace std;int main(int argc, char* argv[]){ int x=30,y=300,z=1024;cout cout
2014-03-30 21:39:22
494
3
原创 第二章作业
例2.1 /*******布尔类型使用举例*******/ #include "stdafx.h"#include #include using namespace std; int main() { bool flag = true; cout cout
2014-03-24 19:05:18
522
3
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人