如何更新GitHub分支库?(How do I update a GitHub forked repository?)
我最近开了一个项目,并应用了几个修复。 然后,我创建了一个请求,然后被接受。
几天后,另一位贡献者又做了一次改变。 所以我的叉子不包含这个变化...我怎么能把这个改变成我的叉子?
当我进一步改变贡献时,是否需要删除并重新创建叉子? 还是有更新按钮?
I recently forked a project and applied several fixes. I then created a pull request which was then accepted.
A few days later another change was made by another contributor. So my fork doesn't contain that change.
How can I get that change into my fork? Do I need to delete and re-create my fork when I have further changes to contribute? Or is there an update button?
原文:https://stackoverflow.com/questions/7244321
满意答案
这样做的方式是通过括号符号。
var test = { "id": "109", "No. of interfaces": "4" } alert(test["No. of interfaces"]);
欲了解更多信息,请阅读:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects
The way to do this is via the bracket notation.
var test = { "id": "109", "No. of interfaces": "4" } alert(test["No. of interfaces"]);
For more info read out here:
相关问答
更多是否可以使用带有多个单词的字符串作为json键?(Is it possible to use a string with multiple words as json key? [duplicate])
访问具有空格的JSON对象键(Accessing JSON object keys having spaces [duplicate])
在JavaScript中获取json对象的键[duplicate](get keys of json-object in JavaScript [duplicate])
JavaScript内部对象键,带有空格的字符串。?(JavaScript inner object key with a string having space .? [duplicate])
JSON语法是否允许对象中的重复键?(Does JSON syntax allow duplicate keys in an object?)
组合json对象并保留重复键(Combine json objects and keep duplicate keys)
带空格的JSON数据(JSON data with spaces)
使用AngularJS从JSON键和值中删除前导空格(Removing Leading Space from JSON Keys and Values Using AngularJS)
我如何访问具有空格的对象属性[重复](how can i access the object properties that have spaces [duplicate])
将具有重复键的JSON对象转换为JSON数组(Convert JSON object with duplicate keys to JSON array)
相关文章
更多Becoming a data scientist
Stack Overflow Architecture Update - Now At 95 Million Page Views A Month
GitHub上搭建个人网站
GitHub入门教程
荐 【翻译】github 搜索团队访谈
GitHub创建SSH Keys
杨尚川 HtmlExtractor github开源项目
使用GitHub-git入门教程
7月最新发布11.2.0.1.2 Patch set update
GitHub项目Storm-HBase介绍
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!