Choose all changed files from git for deployment
I have create a Branch in Git "update_v1_v2". Then I change some files.
After this, I commit the change in git and have a look at the git_log.
Question: Is there a way to mark all chaged files out of this gillog in the Projectfile-Tree ?
I worked before with Eclipse (APTANA), there I had an option in Context-Menu: Mark Files in Tree.
Would love to have an easy way to be able to upload only all changed files to liveserver, instead to do a "sync" over the whole project.
Please sign in to leave a comment.
Ah! Now I got this.
In that case I would suggest using After Commit upload action from the Commit Changes dialog window: <https://www.jetbrains.com/phpstorm/help/commit-changes-dialog.html>.
As for commits that were already made, currently there's no such option. We already have a related request submitted to our tracker here: <https://youtrack.jetbrains.com/issue/WI-18157>. Please vote for it in order to move it up in the queue and receive notifications regarding the progress of the feature. See more information on working with tracker at <https://intellij-support.jetbrains.com/entries/23368682>.
Hello,
In the Version Control tool window, in the Log tab there is a history of commits with authors and dates. If you click on any of the commits, on the right you can see the files that were committed during this particular action. Clicking the file will show you diff window with changes that were introduced by the author.
Find more information here: <https://www.jetbrains.com/phpstorm/help/log-tab.html>.
Would this be suitable?
Thank you for your answer, but that was not the question.
I'm familar with using git to see which files are changed, and even the diff-funtion of it.
The Question was, how to get all Files (from one particular commit) marked in the Project-Tree... so you could do "right click ⇒ upload to..."
Hope you see what I mean.
Hello,
I have the same question, but the solution you wrote do not solve my problem.
We have a project on more than one server, so the upload to one server after commit is not enough.
I need exactly the feature like Samuel Suther mentioned. I need to select changed files and upload them. Or, that could be maybe much better, I need in the Version Control window Log tab after selection a commit the possibility to upload the files directly from here. Something like right click on the folder and upload to...
Is here now a way to do this?
MN
Hi,
- In tab “commit” (⌘0 for mac) right click on “Changes” → Deployment → Upload to…
- Go to git window (⌘9 for mac) you will see all commits list of the current branch.
- Should one of the very beginning (maybe the initial commit) right click it then, “Reset current branch to here…” → Soft.
- Then you will see the changes files showing in the tab “commit” (⌘0 for mac) right click on “Changes” → Deployment → Upload to…
- After upload as you need then update your branch back.
It's a pain doing that way, all is needed is the menu item “Deployment” in the contextual menu of the files of a Commit, or a selection of those.
It's already there in that of the files of a Changelist.