How can I log the branch that I am currently working in?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am trying to include the branch I am currently working in, in my log file. You can directly ask for the branch you are working by typing "!git branch" in the command window, but I am unable to store the resulting branche to a variable so I can actually log it.
Does anyone have experience? I don't want to hard code the branch in use, since this seems a littile vulnerable to mistakes.
Thanks,
Erik-Jan
3 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Model, Block, and Port Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!