Git mv 命令

更新时间: 2019-07-13 17:17

git-mv - Move or rename a file, a directory, or a symlink

语法

git mv <options>... <args>...

参数

-f, --force
    Force renaming or moving of a file even if the target exists

-k
    Skip move or rename actions which would lead to an error condition. An error happens when a source is neither existing nor
    controlled by Git, or when it would overwrite an existing file unless -f is given.

-n, --dry-run
    Do nothing; only show what would happen

-v, --verbose
    Report the names of files as they are moved.

使用示例

# 改名文件,并且将这个改名放入暂存区
$ git mv [file-original] [file-renamed]

查看更多 git mv 命令的使用方法,可以使用命令:

git help mv
Java性能优化权威指南

Java性能优化权威指南

Charlie Hunt、Binu John / 柳飞、陆明刚 / 人民邮电出版社 / 2014-3 / 109.00 元

Java性能优化圣经!Java之父重磅推荐! 本书由曾任职于Oracle/Sun的性能优化专家编写,系统而详细地讲解了性能优化的各个方面,帮助你学习Java虚拟机的基本原理、掌握一些监控Java程序性能的工具,从而快速找到程序中的性能瓶颈,并有效改善程序的运行性能。 Java性能优化的任何问题,都可以从本书中找到答案!一起来看看 《Java性能优化权威指南》 这本书的介绍吧!

Base64 编码/解码

Base64 编码/解码

Base64 编码/解码

URL 编码/解码

URL 编码/解码

URL 编码/解码

SHA 加密

SHA 加密

SHA 加密工具