Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maragliano
E-CAM-Library
Commits
e457087b
Commit
e457087b
authored
Nov 06, 2019
by
Maragliano
Browse files
updated 3 readme file for pylammps/optog
parent
8de55482
Pipeline
#5328
failed with stage
in 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Classical-MD-Modules/modules/pylammps/optog/patch.rst
0 → 100644
View file @
e457087b
.. _patch:
#####################
Patch file for module
#####################
:download:`Downloadable version of patch file <simple.patch>`
To include a patch file do something like the following:
.. literalinclude:: ./simple.patch
:emphasize-lines: 2,9-11
:linenos:
Classical-MD-Modules/modules/pylammps/optog/simple.patch
0 → 100644
View file @
e457087b
Always remember that a good patch file should have a comment inside about what the patch is for....just like this
--- hello.c 2014-10-07 18:17:49.000000000 +0530
+++ hello_new.c 2014-10-07 18:17:54.000000000 +0530
@@ -1,5 +1,6 @@
#include <stdio.h>
-int main() {
+int main(int argc, char *argv[]) {
printf("Hello World\n");
+ return 0;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment