TAG: git

PageDescriptionTags
Git Git is a (distributed) version control system. * Home of Git is <http://git-scm.com/> * The Git wiki can be found at <http://git.or.cz/gitwiki> * The Pro Git book: <http://progit.org/book/> - read it online * Git Cheatsheet: <http://cheat.errtheblog.com/s/git> * Git Reference: <http://gitref.org/> git index Installation aptitude install git-core git-doc optional: install ,
Git - Branches and Tags Howto work with (topic) branches and tags. Branches List local branches: git branch [-v] List all branches: git branch -a List remote branches: git branch -r Create a new branch: git branch mybranchname [reference]
Git - Commits Revisited Commit In Detail Improve the previous commit: git commit --amend this will add any changes in the index to the commit you just made. Additionally you may edit the commit message. Change the author and/or email address of your last commit (if you e.g. accidentally used the wrong email address)
Git - Remote Working with Remote Git Repositories # show origin with URL git remote -v # update remote tracking branches git remote update # see changes/diffs between upstream work and local work git log -p ..@{u} # integrate downloaded changes git merge @{u} # or rebase your work with upstream changes git rebase @{u}
Git - Stash To evacuate changes in your working tree before you switch branches you can use git stash. This prevents you from commiting before you're ready to do so. It' a way to temporarily move your working tree out of the way. # save away working tree and index if they differ from HEAD: git stash
Git - Submodules Read all the details: * <http://chrisjean.com/2009/04/20/git-submodules-adding-using-removing-and-updating/> * <http://book.git-scm.com/5_submodules.html> * <http://progit.org/book/ch6-6.html> Create Super-Repo Add submodules to a git repository mkdir modules git submodule add gitolite@server:motd modules/motd This will create a subdirectory motd in the modules directory and checkout the master branch of the motd repo. git creates a configfile ,
Git and Subversion Convert an subversion repository to git. aptitude install git-svn cd ~ mkdir git cd git echo "user = Joe User <j.user@example.com>" > authors.txt git svn clone --no-metadata --username=user -A ./authors.txt https://svn.example.lan/svn/repos # if there are tags, branches etc. # git svn clone --no-metadata --username=user -t tags -b branches -T trunk -A ./authors.txt https://svn.example.lan/svn/repos , ,
Git for Windows Which software package is right when you want git on Windows? I seldomly install git on Windows. But when I have to, I am always confused which software I have to install i n which order. So I wrote it down: * |TortoiseGit * msysgit TortoiseGit Installation Notes ,
Gitolite Find all docs of gitolite at <http://sitaramc.github.com/gitolite/master-toc.html> Installation Howto install gitolite3 from backports. Adding backports to your sources.list is described here. The following steps are to be performed on the server where your repos will reside. aptitude -t wheezy-backports install gitolite3 ,
Gitweb Install the gitweb webfrontend A nice gitweb theme can be found here: <git://github.com/kogakure/gitweb-theme.git> aptitude install gitweb mkdir -p /var/www/git/cgi-bin ln -s /usr/lib/cgi-bin/gitweb.cgi /var/www/git/cgi-bin cp -a /usr/share/gitweb/* /var/www/git Configure apache:
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready