/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/autotools/cvs/git.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-03 02:45:17 UTC
  • Revision ID: csa@suren.me-20170403024517-dwzj0z0k1cmhxm7u
Restructuring, OpenShift, Ansible, Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Setup
2
 
-----
3
 
    git config --global user.name "Suren A. Chilingaryan"
4
 
    git config --global user.email "csa@dside.dyndns.org"
5
 
    
6
 
Init
7
 
----
8
 
    git init
9
 
    git add .
10
 
    git commit -m "Comment"
11
 
    
12
 
     git clone --bare . ../public.git
13
 
     touch ../public.git/git-daemon-export-ok
14
 
     
15
 
     copy to the server
16
 
 
17
 
 
18
 
 
19
 
Helpers
20
 
-------
21
 
 - get diffs for all revisions by the specified user.
22
 
    i=0; for name in `git log --reverse --author=csa@suren.me | grep commit | cut -d ' ' -f 2`; do (git show $name > `printf "%02i" $i`.diff); i=`expr $i + 1`; done