gitconfig, gitignore & commit template message added
authorpatrick nsukami <ndkpatt@gmail.com>
Sun, 27 Jul 2014 02:44:15 +0000 (02:44 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Sun, 27 Jul 2014 02:44:15 +0000 (02:44 +0000)
.gitcommitmessagetemplate.txt [new file with mode: 0644]
.gitconfig [new file with mode: 0644]
.gitignore [new file with mode: 0644]

diff --git a/.gitcommitmessagetemplate.txt b/.gitcommitmessagetemplate.txt
new file mode 100644 (file)
index 0000000..0efce4c
--- /dev/null
@@ -0,0 +1,6 @@
+type scope: subject
+
+Body
+
+Breaking changes with description of the change, justification and migration notes 
+Closes|Refs #
diff --git a/.gitconfig b/.gitconfig
new file mode 100644 (file)
index 0000000..3893fb1
--- /dev/null
@@ -0,0 +1,34 @@
+[user]
+       name = patrick nsukami
+       email = ndkpatt@gmail.com
+
+[core]
+        excludesfile = /home/nsukami/.gitignore
+        editor = emacs
+        autocrlf = input
+
+[alias]
+       lol = log --graph --decorate --pretty=oneline --abbrev-commit
+        lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
+        lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
+        lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
+        lg = !"git lg1"
+        undo-commit = reset --soft HEAD^
+       undo-add = reset HEAD
+        assume-unchanged = update-index --assume-unchanged
+       delete-local-branch = branch -d
+       create-branch = checkout -b
+       modify-commit-message = commit --amend
+       show-patch = apply --stat
+       check-patch = apply --check
+
+
+[color]
+        ui = always
+       branch = auto
+        diff = auto
+        interactive = auto
+        status = auto
+
+[commit]
+        template = /home/patrick/.gitcommitmessagetemplate.txt
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..96e33e7
--- /dev/null
@@ -0,0 +1,54 @@
+# Movies directory #
+####################
+movies/
+
+# Compiled source #
+###################
+*.com
+*.class
+*.dll
+*.exe
+*.o
+*.so
+*.pyc
+*.so.0
+
+# Packages #
+############
+# it's better to unpack these files and commit the raw source
+# git has its own built in compression methods
+*.7z
+*.dmg
+*.gz
+*.iso
+*.jar
+*.rar
+*.tar
+*.zip
+
+# Logs and databases #
+######################
+application.log
+*.sql
+*.sqlite
+
+# OS generated files #
+######################
+.DS_Store
+.DS_Store?
+._*
+.Spotlight-V100
+.Trashes
+Icon?
+ehthumbs.db
+Thumbs.db
+*~
+*.lock
+*.swp
+*.out
+
+# Personnal project files #
+###########################
+
+
+