小编ger*_*ard的帖子

当运行git状态时,"你的分支与'origin/branch'是最新的"消息只会出现一段时间

我有一个包含许多分支的存储库.所有分支都与等效的远程分支保持同步.

例如,请参阅以下两个分支的git status和git log的输出:

分支mantis_0074

mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0074)
$ git status
On branch mantis_0074
nothing to commit, working directory clean

mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0074)
$ git log --oneline --decorate
a67b6f7 (HEAD, origin/mantis_0074, mantis_0074) M-0074: Update expected results from sample bids.
afda69c M-0074: Rename long and short term intra-day BritNed auction files to use the correct name format so that they will be processed correctly (i.e. not handled as
bcc41 M-0074: Add unprocessed files which can be used for testing amp_file_transfer.ps1 script. …
Run Code Online (Sandbox Code Playgroud)

git git-status

5
推荐指数
1
解决办法
1650
查看次数

如何在Visual Studio Code中重置PowerShell运行空间

我当前在Visual Studio Code中使用PowerShell扩展的0.10.0版本。过去,每次脚本运行之间都会重置运行空间,因此,如果对模块进行了更改,则将更新后的模块导入脚本中。

但是,由于某些原因,PowerShell运行空间不再被重置,因此在下次运行期间不会拾取模块中的更改。

PowerShell扩展中是否有设置可确保在每次脚本运行之间重置运行空间?

powershell powershell-3.0 visual-studio-code

4
推荐指数
1
解决办法
2218
查看次数