tfs - how to create repository or push code into subfolder over VSTS
问题描述
i am trying to push new project from android studio to VSTS (Visual Studio Team Service ). I have used Team Services Git
to import the existing project on VSTS.
now the problem is i really don't know how can i push my code into specific directory over VSTS shown in screenshot below.
whenever i click on import into Team Services Git
it shows the dialog to enter my windows credential and after logging in successfully , i can just see the parent folder but not the child folder.
解决方案
Update:
Unlike Git, you should not import code in VCS.
In the version control bar, there should be a local changes option, select the folder and files, right click and choose commit changes, finally check in the changes. Then your local project should be sync synchronized to VSTS server side. Precondition: you have the correct workspace mapping for local Andriod
folder.
You need first install the VSTS plugin for IntelliJ. This plugin is compatible with Android studio.
You could use GIT as your version control. Then it's not hard to create the repo and add/import code to your repo with git command line.
Detail tutorial please refer this link: VSTS Plugin for IntelliJ IDEA and Android Studio
According to the comment, seems you want to use TFVC as your version control, you have to use the TEE CLC to provide the TFVC support.
For a Video tutorial, you could refer this link Getting Started with TFVC inside of Android Studio with the Team Services Plugin You could also take a look at my reply in How to Use TFS in Android Studio
推荐阅读
- c - kill会被信号打断吗?
- javascript - 如何在Javascript中获取另一个城市的当地时间
- sql - 尝试编写一个查询,显示连续两年发表论文的所有作者的姓名
- javascript - 在 if 中返回
- ssh - 无法在 VirtualBox 中访问 CentOS
- c++ - 从十进制数中获取特定的 k 位
- python - 在 pandas 库中创建的可视化将在烧瓶应用程序中输出
- c++ - 如何在 C++ 中比较 2 个地图?
- javascript - Node.js 应用程序 - 在 x 分钟后执行任务 - 保证队列
- visual-studio - Visual Studio 中的 Nuget 包内容