简体   繁体   中英

Is there a way to Commit and Push changes to multiple Git repositories in Visual Studio 2022

I have a VS2022 solution that contains multiple projects. There are 9 different Git repositories involved. I can use the 'Git Changes' tab to 'Commit All Repos', but I do not see a way to commit AND push all repos. I end up using the 'Git Repository' window to push each outgoing commit individually. I would like to be able to do them all in a single UI operation.

Well, as of VS 17.4.2, you can press the 'Push' (up arrow) button on the 'Git Changes' tab and it pushes all the branches that have already been Committed. I don't know if this is new behavior or not, but I discovered that it works today. Not as nice as 'Commit and Push All' would be, but 2 steps is better than 10.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM