简体   繁体   中英

Git Tower and PhpStorm

For some reason in Git-Tower when I untick the checkbox next to a file in my working copy list it makes it untracked.

That's not what I'm wanting to do. If I uncheck it I just don't want it apart of the current commit I'm about to do.

I still want it to be tracked though. Anyone know why this is happening? I'm also working in the current version of PhpStorm v10.

So after it makes the file in PhpStorm v10 red for the file name I have to make click it and make it added to Git so I'm trying to figure out how to just keep it tracked whole time during development. It does it to all my project files.

Email sent to me.

Roman Koellges (fournova) Jan 7, 10:31

Thank you for your inquiry.

From what you describe, I'm not sure if I find the "problem" or "bug" in the situation: it sounds as if new files have been created while you were working in PHPStorm - and Tower shows these new files when you switch over to it. Are you aware that you can add them to Git right in Tower - simply by clicking the checkbox in the Status column? (See attached animated GIF.)

In case I misunderstood your request, here's another take: if you doubt that the "untracked" status for these files is correct, you can check the status simply with Git on the command line. A simple "git status", executed in Terminal.app from the root folder of the repository, should return the same files as untracked.

I hope this helps. Let me know if you have any other questions.

Looking at the "Staging Changes" documentation of git-Tower , this should only happen to new files, not to files that were previously versioned (and whose new changes you wish to add or not add to your next commit).

http://www.git-tower.com/help/content/01-mac/04-working-copy/03-stage-changes/modified-list.png

Check first if the issue persists when downgrading git-tower to an older version. If that is the case, it is a bug, to be reported to git-tower support.

And check if this is coherent with a git status .

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