简体   繁体   English

在 Visual Studio 中提交 Git

[英]Git commit in visual studio

I have my ownbuilt gitlab server that i have created a project which i then clone to my visual studio where i then add a solution and when im trying to commit and create a remote repository the commit option does not show in the solution option list???我有自己构建的 gitlab 服务器,我创建了一个项目,然后将其克隆到我的 Visual Studio,然后在其中添加解决方案,当我尝试提交并创建远程存储库时,提交选项未显示在解决方案选项列表中? ? i am using visual studio 2019. I really do not understand why in anyway anyone that has an answer please do so i need help with this!!我正在使用 Visual Studio 2019。我真的不明白为什么无论如何任何有答案的人都请这样做我需要帮助!! :D thx in advance... :D 提前谢谢... 在此处输入图片说明 在此处输入图片说明

In the team explorer tab, click the home button .在团队资源管理器选项卡中,单击主页按钮 (the one with the cute little house). (那个有可爱小房子的)。

Then, click on "Changes" and you should be able to commit.然后,单击“更改”,您应该能够提交。 You should also be able to push by clicking "Sync" and "Push" afterwards.您还应该能够通过单击“同步”和“推送”之后进行推送。

If those options does not appear or does not work, i would advise to try to re-set up your git environment with the command line (in a git bash for example) before trying again.如果这些选项没有出现或不起作用,我建议在再次尝试之前尝试使用命令行(例如在 git bash 中)重新设置您的 git 环境。

More on that here : https://docs.microsoft.com/en-us/azure/devops/repos/git/gitquickstart?view=azure-devops&tabs=visual-studio更多关于这里: https : //docs.microsoft.com/en-us/azure/devops/repos/git/gitquickstart?view=azure-devops&tabs=visual-studio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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