Git: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
http://git-scm.com/
 
http://git-scm.com/
 +
 +
==Introduction==
 +
* [http://rogerdudler.github.io/git-guide/index.de.html git - Der einfache Einstieg ]
  
 
==Windows==
 
==Windows==
Git kann man unter Windows so nutzen: TODO.
+
Here are described the steps to use Git under Windows. Feel free to improve the documentation.
 +
 
 +
* [https://github.com/signup/free Create a github account]
 +
* Install [http://msysgit.github.com/ msysgit]
 +
* Install [http://code.google.com/p/tortoisegit/ TortoiseGit]
 +
* Generate [http://uncod.in/blog/setting-up-a-github-account-on-windows7/ a new RSA Key with TortoiseGit]
 +
* Check this [http://uncod.in/blog/github-tortoisegit-and-organizational-workflow-tutorial/ basic tutorial] on Cloning, Adding, Commiting, Pushing and sending Pull request.
  
 
==Links==
 
==Links==
 +
* Tutorials:
 +
** http://www.vogella.com/articles/Git/article.html
 
* Git Help: http://help.github.com/
 
* Git Help: http://help.github.com/
 +
 +
==Github==
 +
* SSH Key: https://help.github.com/articles/generating-ssh-keys
 +
* [https://github.com/trending GitHub Trends]
 +
* [http://www.slideshare.net/rubymeetup/inside-github-with-chris-wanstrath Inside GitHub]
 +
 +
==Commands==
 +
===You changed files and want to commit them===
 +
* git commit -a -m "YOURMESSAGE"
 +
* git push origin
 +
 +
===Branches===
 +
* Rename branch: git branch -m <new_branch_name>
 +
 +
==When merge branch was accepted==
 +
* git remote update (get and update all remote references)
 +
* git remote prune origin  (remove all local references to remote branches of origin)
 +
* git branch -av (view all branches)
 +
* git checkout master (change to your local branch)
 +
* git pull
 +
* git branch -d <branch_name> (delete the local branch)
 +
 +
==Workflow==
 +
* http://scottchacon.com/2011/08/31/github-flow.html
 +
 +
==Links==
 +
* [http://pages.github.com/ Quickly publish Github pages]
  
 
[[Category: Software]]
 
[[Category: Software]]

Aktuelle Version vom 27. August 2013, 10:52 Uhr

http://git-scm.com/

Introduction

Windows

Here are described the steps to use Git under Windows. Feel free to improve the documentation.

Links

Github

Commands

You changed files and want to commit them

  • git commit -a -m "YOURMESSAGE"
  • git push origin

Branches

  • Rename branch: git branch -m <new_branch_name>

When merge branch was accepted

  • git remote update (get and update all remote references)
  • git remote prune origin (remove all local references to remote branches of origin)
  • git branch -av (view all branches)
  • git checkout master (change to your local branch)
  • git pull
  • git branch -d <branch_name> (delete the local branch)

Workflow

Links