⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dir-a-b.test

📁 linux下各种patch的管理工具
💻 TEST
字号:
	$ rm -rf d	$ mkdir -p d/patches	$ cd d	$ echo a > test.txt	$ echo d > test3.txt	$ cat > patches/ab.diff	< --- a/test.txt	< +++ b/test.txt	< @@ -1 +1 @@	< -a	< +b	< --- /dev/null	< +++ b/test2.txt	< @@ -0,0 +1 @@	< +c	< --- a/test3.txt	< +++ /dev/null	< @@ -1 +0,0 @@	< -d	$ echo "ab.diff" > patches/series	$ quilt push -q	> Applying patch patches/ab.diff	> Now at patch patches/ab.diff	$ quilt diff -p ab --no-index	> --- a/test.txt	> +++ b/test.txt	> @@ -1 +1 @@	> -a	> +b	> --- /dev/null	> +++ b/test2.txt	> @@ -0,0 +1 @@	> +c	> --- a/test3.txt	> +++ /dev/null	> @@ -1 +0,0 @@	> -d	$ rm -f patches/ab.diff	$ quilt refresh -p ab --no-index	> Refreshed patch patches/ab.diff	$ cat patches/ab.diff	> --- a/test.txt	> +++ b/test.txt	> @@ -1 +1 @@	> -a	> +b	> --- /dev/null	> +++ b/test2.txt	> @@ -0,0 +1 @@	> +c	> --- a/test3.txt	> +++ /dev/null	> @@ -1 +0,0 @@	> -d	$ quilt pop -qR	> Removing patch patches/ab.diff	> No patches applied	$ cd ..	$ rm -rf d

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -