GitSync-applescript
GitSync-applescript copied to clipboard
Tasks
- [ ] Branch option in xml
You may work on a "feature branch" Gitsync 1.0.1 should probably support this
Git is all about working with divergent history. so this is very imp.
- [ ] Version setting this project http://semver.org
- [ ] Too many commits?!?
Some like fewer commits, since git is built upon the core concept of snapshots, this is probably the best unique feature of GIT.
So maybe you do:
Commit interval : "lunch time", "mid working day", "leaving work", "before bed time" Push interval : "mid working day","before bed time"
Instead of making a change and committing it directly to the central repo, Git developers have the opportunity to accumulate commits in their local repo. This has many advantages over SVN-style collaboration: it makes it easier to split up a feature into atomic commits, keep related commits grouped together, and clean up local history before publishing it to the central repository. It also lets developers work in an isolated environment, deferring integration until they’re at a convenient break point.
- [ ] Contemplate new commit for file
every new item in the status list gets a new commit
you need to resolve the I,C,M,R git cmd's first though
or maybe just new commit for file change not, new file etc.
You don't want to commit 100 times for 100 files in a folder. 1 commit will do But if you make 10 changes to 10 different files, a different commit for every file may be warranted.
- [ ] Lines modified: 10
this piece of information could be useful tracking down a change.

you should add the Lines modified: 10 to the modified part of the commit msg description
Say you want to track down a method you deleted apron 2 hours ago. When you have 12 commits in the last hour it can be hard to find. but if you know apron how many lines the method was, it will be easier to find.
Adding the diff to description is to bulky. Will consume too much space and is already in the git.
relative number of lines that were added or deleted
- [ ] "Rename", "Ignored", "moved" and "Copied" not triggered in git
The "Moved" can be possibly be resolved by looking for files in the git status list:
- if a file is deleted
- and a file is added,
- and they both have the same name
- then check if they have the same content by doing a git diff of 2 files (research needed)
- if there is no difference, then its virtually a
The Renamed: harder, you have to look for a deletion and an addition and then diff every deletion and addition
The copied Is virtually impossible, you have to diff the addition with every file in the git
The ignored: Research needed
TIP:
Copied flag shows up in the description if you do git commit without a custom message
- [ ] Make error msg popups better with a dialog etc. and suggestons on what to do.
IF YOU ENCOUNTER THIS error message:
fatal: unable to access 'https://github.com/eonist/test.git/': Could not resolve host: github.com error: Could not fetch origin
Then your not connected to the internet
- [ ] Private git repos
When working with private repos, you may need to upgrade your GitUtil class with login and pass variables for methods such as status, add etc