Using git with DroidEdit

One common feature request for DroidEdit is git support. Although not trivial, you can already use git with DroidEdit Pro and a SFTP connection. You just have to add some external commands. For example:

Alias: Git Add
Command: git add $(file)
Result: Show Result

Alias: Git Commit
Command: git commit -m ‘$(message)’
Result: Show Result

Alias: Git Log
Command: git log
Result: Open in new file

And there are many more things you can do with external commands. For example:

Alias: Tidy HTML
Command: tidy $(file)
Result: Replace

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s