Difference between revisions of "Git"

From GLMWiki
Jump to: navigation, search
(Git Ignore File)
(Git home config file)
Line 40: Line 40:
  
 
== Git home config file ==
 
== Git home config file ==
~/.gitconfig
+
[[The_Great_GLM_Git_Guide#Git_home_config_file| Git home config file]]
<pre>
+
[user]
+
    name = (your name)
+
    email = (your email)
+
[color]
+
    diff = always
+
    ui = true
+
[core]
+
    excludesfile = /home/(your user)/.gitignore_global
+
    autocrlf = input
+
    sharedRepository = 0664
+
[alias]
+
    ci = commit
+
    co = checkout
+
    br = branch
+
    st = status
+
    graph = log --pretty=format:\"%h %s\" --graph
+
[push]
+
    default = simple
+
[branch]
+
    autosetuprebase = always
+
</pre>
+
  
 
== Git Ignore File ==
 
== Git Ignore File ==

Revision as of 10:01, 9 June 2016

Git

Git Docs

Try git tutorial

Git Pro Book

Git Tutorial

Git Flow Workflow

git pull --rebase

Installation & Initial Setup

Git Installation & Initial Setup

GLM Git Guide

The Great GLM Git Guide

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