-
-
Notifications
You must be signed in to change notification settings - Fork 445
Git integration inside the IDE (commit only) #1880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
that one sounds like a good idea... |
I disagree, for me this covers 1% of the git usage, "commit" is just the very last action you do, most of the time you do diffs, add in staging files selectively (not altogether) or even part of a file. Less often you look the log, push/pull, merge or rebase. This issue inspired arduino/Arduino#4865, arduino/Arduino#4816 and arduino/Arduino#4704 but using them leaves the feeling that they are incomplete, in particular you don't know what you're actually committing (this lead the author of arduino/Arduino#4865 to implement also the "Diff" command even if not explicitly request but it's really a draft and needs more work). Also having just 1 line for the commit message induce a bad habit, because commits should be well commented (possibly with more than 1 line if needed). |
I disagree, but I believe it's about perspective.
Anyway... this is the magic with open source, you never know where a new door may lead you! I honestly think it would be a mistake to put a lid to contributions like those ones because "they are not complete". There is a lot of energy there! Featuring git in an IDE will never be a complete task (or else, it will never seem complete for an expert, otherwise it's a titanic task), but please bear in mind those Arduino newbies like me :-) But I also understand the risks: if you are going on a road-trip, even if you don't know where are you really going, better make sure the car is in good condition and full of gas. |
Why is this wontfix. It's the greatest idea ever just got my vm crashed losing a days work of Ardu code again yet if there wouldve been an autocommit feature to git built into the ide this would never happened. |
I would like to ask for a small feature request: it would be awesome to have small support for Git inside the Arduino IDE.
I understand GIT is really feature-rich and making the IDE fully compliant will be a full project on its own... but having a simple "Commit changes to this file" option in the File menu (with a key shortcut) if the file belongs to a git repo would be AWESOME already. It does not need to do much: just check that git is installed, check if the opened file is part of an existing local repository, and give the user a dialog with a 1-line commit message and OK/Cancel buttons if you click on it (or push the right key combination).
I think this will cover 90% of the use cases with Git, that is already a must for any-sized development projects. Having to do 'git commit -m blabla filename' on a separate console is quite some burden that makes you(me) not use it at the end.
Thanks for a great IDE!
The text was updated successfully, but these errors were encountered: