git commit代码后,但是没有push之前,如果发现提交的代码有一个部分是有问题的,或者commit message写的太随便了想改一下,以下命令会帮到你 git reset HEAD^ 敲击该命令后,commit的代码会回退到你的工作区。将问题代码改好后, 从新git add git com ...
分类:
其他好文 时间:
2021-07-02 15:42:06
阅读次数:
0
Proj4js 是一个开源的 JavaScript 库,用于将点坐标从一个坐标系转换到另一个坐标系,包括基准转换。
git代码库地址:https://github.com/proj4js/proj4js
另一个坐标系在线查询和坐标转换地址:https://epsg.io/
在PostGIS中... ...
分类:
Web程序 时间:
2021-07-02 15:29:04
阅读次数:
0
我们写的 PVPC 的代码在 gitee 上可以下载:https://gitee.com/luyi07/pvpc.git 这里摘录一个脚本,用来自动做变分+投影,在最新的版本里会放在 example/run.sh 中,运行方法: bash run.sh #!/bin/bash nucleus=Cr4 ...
分类:
其他好文 时间:
2021-07-01 17:36:28
阅读次数:
0
#!/usr/bin/python # -*- coding: UTF-8 -*- # @auther gaocan 809900210@qq.com import sys import os import re import codecs ''' Codec: See Python`s Stand ...
分类:
其他好文 时间:
2021-07-01 17:19:46
阅读次数:
0
before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0
//-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 ...
分类:
其他好文 时间:
2021-07-01 17:03:23
阅读次数:
0
osmdroid's MapView is basically a replacement for Google's MapView class. First of all, create your Android project, and follow HowToMaven if you're u ...
分类:
移动开发 时间:
2021-07-01 16:54:55
阅读次数:
0
1spring5注解 1.1 注解导入 1.使用注解时必须要有aop依赖 1.1需要在xml文件中导入context依赖 引入xsi:schemaLocation属性 xmlns:是XML NameSpace的缩写,因为XML文件的标签名称都是自定义的,自己写的和其他人定义的标签很有可能会重复命名, ...
分类:
编程语言 时间:
2021-07-01 16:38:46
阅读次数:
0
current status: We have a remote repository and a local project repository with no git configured. We want to push to remote and create new branch. Pr ...
分类:
其他好文 时间:
2021-07-01 16:24:13
阅读次数:
0