Git Commit Helper helps programmer commit into git with minimum typing. It automate all the work need to be done for committing.
- Focus on commit message than git command.
- Captures modified, renamed, new and deleted file automatically for commit.
- Let user commit files one by one without any hassle of copy and pasting file path.
- Shows git diff output for each file before committing.
- Let user skip some file from committing
- Provide commit short cut that let you commit with typing of one character.
- Remove all residual files (e.g.
.orig
) after merge conflicts are resolved.
- Clone this repository.
- Change mode of file commit.py
- copy commit.py to PATH.
- run commit.py from any git repository to start committing.
git clone git@github.com:maknahar/committer.git;
cd committer; chmod 777 commit.py;
cp commit.py /usr/local/bin/commit
#Example:
$ commit
List Of Files Needs commiting:
modified: README.md
Please Enter to countinue. Enter q to quit:
modified: README.md
diff --git a/README.md b/README.md
index 93ed08f..65d58bc 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ Git Commit Helper helps programmer commit into git with minimum typing. It autom
# Usase
-1. Clone this repository.(__git clone git@github.com:maknahar/committer.git__)
+1. Clone this repository.(__git clone git@github.com:maknahar/committer.git__)
Commit Shortcuts
a: Added new File <file name>
d: Deleted file <file name>
i: ignore this file from commit
p: Performance Optimization
q: same as last file
r: Renamed file <file name>
Enter Commit Title: changed repo url
Enter Commit Description(Optional):
[master 43f0662] changed repo url
1 file changed, 26 insertions(+), 77 deletions(-)
rewrite README.md (62%)
☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺
Finished Committing all Files.
☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺
Enter Y to push to remote: y
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 395 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: This repository moved. Please use the new location:
remote: https://github.com/maknahar/committer.git
To git@github.com:maknahar/gitCommitHelper.git
8225141..43f0662 master -> master
Git Status Now:
On branch master
Your branch is up-to-date with 'origin/master'.