Maxime Chambreuil

Friday April 4, 2008

Tooltips for GIT

Max @ 21:07 | Filed under: Information Technology

GIT

Initialization

$ git config --global user.name "Your Name Comes Here"
$ git config --global user.email you@yourdomain.example.com

Cloning

$ git clone git+ssh://sflphone_org@sflphone.org/git/sflphone.git

Edit .git/config to have :

[remote "origin"]
        url = git+ssh://sflphone_org@sflphone.org/git/sflphone.git
        fetch = +refs/heads/*:refs/remotes/origin/*
        push = +refs/heads/*:refs/remotes/origin/*

Committing and pushing

$ git-gui

Then “Add Existing”, “Commit” and “Push”.

Branching

Create a new branch toto :

$ git branch toto

List all branches :

$ git branch

Switch to branch toto :

$ git checkout toto

Display branches :

$ gitk

Delete branch toto :

$ git branch -d toto

2 Comments

  1. … [Trackback]

    […] Here you will find 18961 additional Information on that Topic: chambreuil.com/2008/04/04/tooltips-for-git […]

    Trackback by ????? — Sunday March 22, 2020 @ 22:01

  2. … [Trackback]

    […] Read More on on that Topic: chambreuil.com/2008/04/04/tooltips-for-git […]

    Trackback by gay porn — Monday March 30, 2020 @ 16:35

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Copyright © Maxime Chambreuil