我在本地创建了一个存储库并将所有更改推送到 github。后来我创建了一个名为“v2”的新分支(“git branch v2”)并做了一些修改并将该分支也推送到了github。后来当我执行命令“git remote show origin”时,我得到以下输出。
* remote origin
Fetch URL: https://github.com/mayuran19/se24_P03.git
Push URL: https://github.com/mayuran19/se24_P03.git
HEAD branch: master
Remote branches:
master tracked
v2 tracked
Local branch configured for 'git pull':
master merges with remote master
Local refs configured for 'git push':
master pushes to master (local out of date)
v2 pushes to v2 (local out of date)
Run Code Online (Sandbox Code Playgroud)
但是当我执行命令“git branch -vv”时,它显示分支“v2”不是跟踪分支。
master bad4ed9 [origin/master] Correct name
* v2 6ec46b0 Data files
Run Code Online (Sandbox Code Playgroud)
我的问题是,为什么即使远程分支在 github 中可用并且我能够执行此分支的拉取和推送,为什么分支 v2 没有显示为跟踪分支?
命令“git branch -a”的输出显示以下输出
master …Run Code Online (Sandbox Code Playgroud) git version-control github remote-branch branching-and-merging
我有一个整数值,我想用前导“0”填充这个整数值。我怎么能在芭蕾舞演员中做到这一点?
int i = 1;
Run Code Online (Sandbox Code Playgroud)
预期输出应该是
0000000001
Run Code Online (Sandbox Code Playgroud) 我在 Windows 7 中安装了 IBM MQ 7.5 版。我使用以下命令创建了一个队列管理器、通道和侦听器。
//CREATE THE QUEUE MANAGER
crtmqm.exe PG3RT1
//START THE QUEUE MANAGER AS INTERACTIVE
strmqm.exe -si PG3RT1
//CONNECT AS SCRIPT CONSOLE
runmqsc.exe PG3RT1
//CREATE THE CHANNEL TO APPLICATION CONNECTIVITY
DEFINE CHANNEL(PG3RT1.CHANNEL) CHLTYPE(SVRCONN) TRPTYPE(TCP)
//CREATE THE LISTENER
DEFINE LISTENER(LISTENER.PG3RT1) TRPTYPE(TCP) PORT(1414)
//START THE LISTENER
START LISTENER(LISTENER.PG3RT1)
Run Code Online (Sandbox Code Playgroud)
现在我正在尝试使用以下 java 客户端连接到队列管理器。连接因以下错误而被拒绝。
15:06:52.175 [localhost-startStop-1] ERROR c.b.c.s.s.m.MQUtil - MQJE001: Completion Code '2', Reason '2035'.
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2035'.
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:230)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:553)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:593)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:96) …Run Code Online (Sandbox Code Playgroud) 当我试图实现其中一个协议时,我遇到了以下语法.
optional public func mailComposeController(controller: MFMailComposeViewController, didFinishWithResult result: MFMailComposeResult, error: NSError?)
Run Code Online (Sandbox Code Playgroud)
任何人都可以解释"didFinishWithResult"的含义吗?这是一个争论吗?如果不是这样的话?
我注意到芭蕾舞女演员编码包没有用于 encodeBase64/decodeBase64 的方法,而是有 encodeBase64URL/decodeBase64URL。
当我使用它并使用其他 base64 编码库时,结果不一样