当我使用删除远程Git分支时
false
它似乎还删除了本地远程跟踪分支(即app.get('/get', function (req, res) {
//get isloading from your state management of choice and check it's value
if(isLoading == true) {
// If the app is loading, notify the client that he should wait
// You can check for the status code in your client and react accordingly
return res.status(226).json({message: "I'm currently being used, hold on"})
}
// Code below executes if isLoading is not true
//Set your isLoading DB variable to true, and proceed to do what you have
isLoading = true
someAsyncFunction(function(result){
// Only after this is done, isLoading is set to false and someAsyncFunction can be ran again
isLoading = false
return res.send(result)
}
}
)。但是,我看不到docs中提到的这种行为:
-d,-删除 从远程存储库中删除所有列出的参考。这与在所有引用之前加冒号一样。
这是预期的行为吗?记录在哪里?