Difference between revisions of "Git"

From GLMWiki
Jump to: navigation, search
(Git Ignore File)
 
(62 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Git-Logo-2Color.png|center|thumb|Git]]
+
[[Image:Git-Icon.png|center|Git]]
 +
==GLM Git Guide==
 +
[[The Great GLM Git Guide]]
 +
 
 
==Git Docs==
 
==Git Docs==
 +
[http://try.github.com/ Try git tutorial]
 +
 
[http://git-scm.com/book Git Pro Book]
 
[http://git-scm.com/book Git Pro Book]
  
Line 7: Line 12:
 
[http://www.atlassian.com/git/workflows#!workflow-gitflow Git Flow Workflow]
 
[http://www.atlassian.com/git/workflows#!workflow-gitflow Git Flow Workflow]
  
==Install==
+
[http://www.atlassian.com/git/tutorial/remote-repositories#!pull git pull --rebase]
[[Installing Git]]
+
  
==Git for the first time==
+
==Installation & Initial Setup==
[[Setting up Git for the first time]]
+
[[Git Installation & Initial Setup]]
  
== Git Ignore File ==
+
==Setup ssh-agent==
create a file called .gitignore_global in you home directory
+
[[ssh-agent on windows(git bash)]]
<pre>
+
# OS generated files #
+
######################
+
.DS_Store*
+
ehthumbs.db
+
Icon?
+
Thumbs.db
+
._*
+
*.swp
+
 
+
# Gaslight Media Application specific #
+
# files that are updated on server    #
+
#######################################
+
iconCache/
+
uploads/
+
cache/
+
compiled/
+
compile/
+
original/
+
resized/
+
midsized/
+
thumb/
+
thumbs/
+
ht_images/
+
photo-large/
+
photo-small/
+
prototype/
+
weather-feed.xml
+
php.error
+
reports/
+
editimagesworkwith/
+
editimagesoriginal/
+
editedImages/
+
editimagespng/
+
.buildpath
+
.settings
+
.project
+
.svn
+
nbproject
+
</pre>
+
 
+
==SSH Keys==
+
[[Creating your ssh keys (private/public)]]
+
  
 
==Git-Svn==
 
==Git-Svn==
Line 65: Line 26:
  
 
==Gitolite==
 
==Gitolite==
[[Creating a new Git repo]]
+
[[The Great GLM Git Guide#Creating a new Git repo|Creating a new Git repo]]
  
 
==gpg signing==
 
==gpg signing==
[[How to sign your commit or tags]]
+
If you’re making signed annotated tags (as discussed in Chapter 2 of Git Pro), setting your GPG signing key as a configuration setting makes things easier. Set your key ID like so:
 +
 
 +
git config --global user.signingkey <gpg-key-id>
 +
 
 +
==Git New Website Setup Checklist==
 +
[[The Great GLM Git Guide#Git New Website Setup Checklist|Git New Website Setup Checklist]]
 +
 
 +
== Git Flow ==
 +
[[The Great GLM Git Guide#Git Flow|Git Flow]]
 +
 
 +
== Git home config file ==
 +
[[The_Great_GLM_Git_Guide#Git_home_config_file| Git home config file]]
 +
 
 +
== Git Ignore File ==
 +
[[The_Great_GLM_Git_Guide#Git_ignore_file|Git Ignore File Setup]]
 +
 
 +
==SSH Keys==
 +
[[Creating your ssh keys (private/public)]]
  
 
==Reference==
 
==Reference==
 
git book online
 
git book online
 
http://git-scm.com/book
 
http://git-scm.com/book

Latest revision as of 10:26, 9 June 2016

Git

GLM Git Guide

The Great GLM Git Guide

Git Docs

Try git tutorial

Git Pro Book

Git Tutorial

Git Flow Workflow

git pull --rebase

Installation & Initial Setup

Git Installation & Initial Setup

Setup ssh-agent

ssh-agent on windows(git bash)

Git-Svn

Checking out a site from svn with git (limit git) git svn http://git-scm.com/book/ch8-1.html

Gitolite

Creating a new Git repo

gpg signing

If you’re making signed annotated tags (as discussed in Chapter 2 of Git Pro), setting your GPG signing key as a configuration setting makes things easier. Set your key ID like so:

git config --global user.signingkey <gpg-key-id>

Git New Website Setup Checklist

Git New Website Setup Checklist

Git Flow

Git Flow

Git home config file

Git home config file

Git Ignore File

Git Ignore File Setup

SSH Keys

Creating your ssh keys (private/public)

Reference

git book online http://git-scm.com/book