User Tools

Site Tools


unix:scm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
unix:scm [2009/03/05 14:13]
ap
unix:scm [2019/04/08 10:33] (current)
ap [git cheatsheet]
Line 36: Line 36:
  
     git merge experimental ​     # Merge FROM ...     git merge experimental ​     # Merge FROM ...
 +
 +Pull from upstream "​incorporating"​ the changes:
 +
 +    git pull --rebase
  
 Graphical interface Graphical interface
Line 42: Line 46:
     gitk     gitk
  
 +Quickly one-off share a git repository (cfr CentOS):
 +
 +    # Server side
 +    sudo yum install git-daemon
 +    firewall-cmd --add-port=9418/​tcp
 +    git daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
 +    # Client side
 +    git clone git://​remote.example.net/​
 ===== hg cheatsheet ===== ===== hg cheatsheet =====
  
unix/scm.txt · Last modified: 2019/04/08 10:33 by ap

Informativa sui cookie