brackets-userland / brackets-git Goto Github PK
View Code? Open in Web Editor NEWbrackets-git — git extension for adobe/brackets
License: Other
brackets-git — git extension for adobe/brackets
License: Other
The plugin doesn't report errors in any way, which the user sees as broken buttons/plugin (clicking fe. commit button doesn't do anything, must be broken).
For example I ran into a problem where mapped network drive from virtual computer lacked permissions for the command line git to work. However, as the plugin didn't tell me anything, I assumed the whole plugin was broken.
Same with pulling and non-committed changes which, in this case, the plugin didn't show at all. So, when the pull request failed due the non-committed changes, there was no error reporting and again, led me to believe the whole thing was broken. :)
[Please describe your problem here]
Brackets 0.34.0-10729 (win) & Brackets-Git 0.7.3
Failed to connect to Node.js, extension requires Node.js installed
Max connection attempts reached
[Please describe your problem here]
Brackets 0.35.0-10897 (linux) & Brackets-Git 0.7.11
Failed to register Node.js domain, extension requires Node.js installed
timeout
Hi,
Sorry for the lack of info here but I can't get this extension running at all (Same issue on latest Edge Code).
Windows 8 64,
clean brackets install (sprint 35 experimental build 0.35.0-10897),
Git installed (added to path),
nodejs installed (added to path),
Tried installing the extension both from extension manager and from this repo, I get the same error, brackets fires up and the icon turns pink.
Check Git settings: [object Object]
been playing with all kinds of git settings so maybe I'm just missing something simple here, burning the midnight oil.
When using the checkbox to select all files the commit button does nothing, if i select them each manually, they are successfully committed.
Brackets 0.35.0-10897 (mac) & Brackets-Git 0.7.3
No error displayed.
[Please describe your problem here]
Brackets 0.34.0-10729 (win) & Brackets-Git 0.7.3
Failed to connect to Node.js, extension requires Node.js installed
Max connection attempts reached
When I click on the Git Pull-Button, nothing happens. Now I found out the reason of this (in the beginning, becaue "git pull" wasn't set up yet to use origin/master as merge branch; then, because the fast-forward pull failed). But it would be nice to see this errors in a window (maybe even as a question "There are changes on the remote side. Do you want to merge them?"). Also, the Developer Console didn't show the errors either.
Added file to .gitignore and tried to commit it.
Brackets 0.35.0-10897 (win) & Brackets-Git 0.7.11
Preparing commit dialog failed
error: insufficient permission for adding an object to repository database .git/objects
error: .gitignore: failed to insert into database
error: unable to index file .gitignore
fatal: updating files failed
[Please describe your problem here]
Brackets 0.35.0-10863 (win) & Brackets-Git 0.7.2
Failed to register node domain
cleanup
Yup, it would be nice.
I am using Ubuntu 12.04 x64 with Brackets Sprint 34 and everything is working find except commit. When i select the files and click on commit nothing happens.
I don't get any errors on my console either.
Is this a known problem? Is there anyway for me to debug this to give you more info about this situation?
Hi. Thank you for extention. Very helpful.
Can you add Mercurial?
Its work if change few commands.
git --version
=> hg --version
git rev-parse --show-toplevel
=> hg root
gi rev-parse --abbrev-ref HEAD
=> hg branch
git status -u --porcelain
=> hg status --color never
P.S. Status codes.
Git
X Y Meaning
-------------------------------------------------
[MD] not updated
M [ MD] updated in index
A [ MD] added to index
D [ M] deleted from index
R [ MD] renamed in index
C [ MD] copied in index
[MARC] index and work tree matches
[ MARC] M work tree changed since index
[ MARC] D deleted in work tree
-------------------------------------------------
D D unmerged, both deleted
A U unmerged, added by us
U D unmerged, deleted by them
U A unmerged, added by them
D U unmerged, deleted by us
A A unmerged, both added
U U unmerged, both modified
-------------------------------------------------
? ? untracked
! ! ignored
-------------------------------------------------
Mercurial
M = modified
A = added
R = removed
C = clean
! = missing (deleted by non-hg command, but still tracked)
? = not tracked
I = ignored
= origin of the previous file listed as A (added)
When installing via the extensions manager, without any other extensions installed, the is an error with the installation. I haven't had a chance to attempt to track down the source of the problem.
Would be nice to have things like adding file to gitignore by right-clicking it and selecting Git -> Add to ignore. Especially as Brackets hides files that start with a . so you need to edit the file somewhere else.
Unable to push commits to a private github repository. It does not ask for a login/password.
Brackets 0.35.0-10897 (win) & Brackets-Git 0.7.11
Pushing to remote repository failed
Error: cmd-execute-timeout: git push --porcelain
Error: cmd-execute-timeout: git push --porcelain
at file:///C:/Users/Fabien/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Main.js:173:35
If I open a directory, whats in side a got, the plugin does not recognise it.
[Please describe your problem here]
Tried to commit a renamed file.
File was renamed using the following git command on command line.
git mv one.html one/index.html
The git pane on Brackets shows this on the file:
Modified,Renamed,Staged one.html -> one/index.html
Brackets 0.35.0-10897 (mac) & Brackets-Git 0.7.7
Preparing commit dialog failed
fatal: ambiguous argument 'one.html -> one/index.html': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
[Please describe your problem here]
Brackets 0.35.0-10897 (linux) & Brackets-Git 0.7.2
Failed to connect to node
Max connection attempts reached
Nice plugin and helpful.
I thought a helpful feature might be to hide untracked files or to collate them by directory in the list.
[Please describe your problem here]
Brackets 0.35.0-10897 (mac) & Brackets-Git 0.7.7
Preparing commit dialog failed
fatal: pathspec '.DS_Store -> app/.DS_Store' did not match any files
... when one is a git project and the other isn't, and if I have the panel closed it gets annoyed to have to close it again when switching projects.
Thanks for the extension :)
ich kann leider kein commit mehr machen.
Brackets 0.35.0-10897 (mac) & Brackets-Git 0.7.11
Would be nice if we could create, change, merge branches.
This is really common to create a feature branch. Right now I have to do this outside of brackets.
The problem is unlike Sublime Text 2, brackets does not auto update files, and your extension does not auto update the branch your on.
So i have to reload brackets every time I make a new branch.
Would be nice for this to be more seemless, and allow us to add braches, change them and merge them from the UI. All whille updating the files brackets has loaded.
It would be nice to have Run command option for advanced repository setup. :)
It should execute given [git] command in shell.
Push to remote shortcut
When I open a git repo (myproject.git/) the plugin says that is "not a git repo".
Actually it is, I can pull commit etc using the windows GIT tool.
I'm on Windows 7 and 8, 64bit, and the problem happens on every version of Brackets I've tried, even the experimental S35.
Hi! i don't get how do i push or pull the commits.
So here i set up a new repo on Github, then i cloned it to a local folder with GIT for windows, and pushed some files. Now i opened one of the files in Brackets and modified one line. Next i see the change in the list, so i can commit it and write a comment. Git Push button changes to Git Push (1), and then i press it. Now the button is always pressed. nothing happens. what's next?
thanks
@zaggino thanks for the quick implementation of the untracked files.
How much of the git functionality (amend commit, tags, log, remotes, etc.) are trying to provide in the Brackets GUI?
I've also noticed that depending on screen/window size, the buttons overlap. If more features are added, the space with the buttons will become crowded quickly. Is there a plan to change how the buttons are shown? (I don't have an idea, just curious).
The most of Git users (including me) uses colors.
For example, when I run git diff
it shows colors. --no-color
option must be used, or output will be unreadable. Please disable colors in output in this extension.
[Please describe your problem here]
Brackets 0.35.0-10897 (linux) & Brackets-Git 0.7.11
Preparing commit dialog failed
fatal: Failed to resolve 'HEAD' as a valid ref.
The .gitignore file in my repo containts (among others):
node_modules/
git status doesn't show the node_modules files but the plugin does.
Now I get a very long list with node_modules and the one file I actually changed.
[Please describe your problem here]
Brackets 0.35.0-10897 (win) & Brackets-Git 0.7.6
Initializing new repository failed
NotWritable
I notice that clicking "Git Pull" doesn't do anything. Am I correct in assuming that, perhaps, its always trying to pull from "origin".
Maybe we can add support to somehow have a drop down of remote locations? We can do a "git remote -v", parse the string result and place it under "Git Push To" and/or "Git Pull From".
Brackets 0.35.0-10897 (win) & Brackets-Git 0.7.6
This extension uses the ProjectManager "projectFilesChange"
event, which has been removed. In the next release of Brackets, the extension will not notice file tree changes because this event no longer fires.
It should be straightforward to switch to the new FileSystem "change"
& "rename"
events. You can release this update in advance if you want, since users of Brackets Sprint 33 (the current release) will still be able to install the older version of your extension that is compatible with their build.
See the migration guide and discussion thread for details.
Not sure if it's just me or if it's due to conflict with other extensions but Brackets-Git stopped working in the latest Brackets master.
Had a new project in Brackets IO, couldn't see a way to do a "git init" so created it in terminal. Couldn't find a way to add all. Couldnt find a way to add remote. Push didnt do anything. Pushed via terminal. Edited a file, clicked commit and no commit editor, just seemed to do nothing. Clicked push and came back with a response saying it had pushed when in fact it hadnt.
I think this extension has great potential but its lacking at the moment but don't take my issues as criticisms just areas to improve for a clean install etc.
Thanks for the extension 😄
It seems like the widget is no longer showing modified files in the new version of Brackets.
It's hard to tell because this repo has a lot of untracked files, so the list is buried in them. Is there a way to hide untracked files in the widget?
Summing up your commit message into a single line is not a good practice, yet this plugin doesn't let you write multi-line messages.
Would love to see the first line of a message limited to 50 characters, and a separate field for providing further details.
Along the lines of these suggestions:
http://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message
If I have brackets-git installed then Brackets will just hang during start up and won't get past the grey window part.
I'm almost sure it hangs when trying to open the files I was working on the last session, because they are in a git repo that has been initialized, but nothing been commited yet.
I can't seem to find any error logs that could help determine the problem, and since the app hangs straight away (without any CPU or disk usage BTW), I can't access the developer tools.
System is Ubuntu 13.10 64bit with all the latest updates, Node 0.10.15.
When I click the Cross on the right-hand corner to hide the Git window when I'm not using it, I expect to be able to re-enable it by clicking Enable Git or something like that in the View menu, or by clicking the Git field in the status bar. Neither work, unfortunately (and so far I have found no other way to re-enable the window...).
Adding either of these ways to re-show the Git window would be an intuitive addition, to me.
Pushing images with brackets-git results in corrupted raw images. I used png files, after push they are corrupted on both local and remote repository.
Thanks for this awesome work!
Just installed this extension. Now every time I start brackets it asks me for the location of git. I enter the value and click save. The dialog pops up asking if I would like brackets restarted to start with the new settings. I click yes, brackets restart and asks me for the location of git. The value in the box is NOT what I previously set, but to a location that does not exist (/usr/local/git/bin/git).
I have to uninstall as this extension is driving me nuts. Every time I switch workspaces I get this dialog.
You can specify an external difftool in Git. Would be great if the diff
button could (optionally) launch that instead of a diff in a Brackets popup.
[Please describe your problem here]
Brackets 0.35.0-10897 (win) & Brackets-Git 0.7.8
Initializing new repository failed
NotWritable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.