英文:
What are @@ -20,8 +23,8 @@ random.seed(1001) in git diff?
问题
@@
符号代表Git差异的标记。数字表示代码中的行号。
英文:
To check differences I run git diff
:
(reg37) C:\Users\banikr\PycharmProjects\Registration\registration>git diff master origin/master
diff --git a/mainfile.py b/mainfile.py
index 94a5113..4b514f1 100644
--- a/mainfile.py
+++ b/mainfile.py
@@ -9,6 +9,9 @@ import matplotlib as mtl
:
What do the @@
signs mean?
Do the numbers indicate the line number of the code?
答案1
得分: 1
这是描述变更的标准GNU格式链接:
https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html#Detailed-Unified
您可以参考以下响应以获取更多信息:
https://stackoverflow.com/a/24456418/9361998
英文:
It's a standard GNU format for describe change:
https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html#Detailed-Unified
You can refer to the following response for further information:
https://stackoverflow.com/a/24456418/9361998
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论