We have a requirement that we have to let idea checkout with the commit hash provided by a remote server automatically.
So, these are the questions:
1. Idea can checkout from git with a commit hash in "Git Branches" -> "Checkout Tag or Revision..". Can we do this programatically? Or, where can we find the related source code?
2. We need to check which git repo user using, In "Git"->"Pull...", the "Remote" field can show the repository url. How can we get that?
3. Because we checkout codes automatically, we have to lead user shelve their changes. How can we Invoke "VCS"->"Shelve Changes" Automatically and know the use shelved their changes or not(if not, we won't continue the checkout)