Git

From sselab

(Difference between revisions)
Jump to: navigation, search
(Fetch URL for project)
Line 1: Line 1:
[[File:git.png|right|300px|caption]]
[[File:git.png|right|300px|caption]]
-
===Current features===
 
-
At the moment the current features are available:
 
-
* web-based viewing of your repository (via gitweb)
 
-
* email notification upon commit to all project members
 
-
* committer validation during push (username of the sselab account)
 
-
 
-
===Comming features ===
 
-
What we don't have at the moment, but will be implemented soon:
 
-
* permission scheme depending on the roll in the project (read/write for managers, read only for simple members)
 
-
 
-
And further demands coming from the beta testers. So feel free to apply for the beta phase. :-)
 
-
 
-
=== Changelog ===
 
-
* 2012-11-15:
 
-
** removal of remote branches is now possible
 
-
** improved email messages (Subject changed)
 
-
** better error message for failed push operations
 
-
** Service is now activated. The private beta phase is ended.
 
-
* 2012-02-27
 
-
** Inital release
 
-
** Only private beta phase
 
== Git ==
== Git ==
Line 65: Line 44:
[[git_first-steps | First Steps]]
[[git_first-steps | First Steps]]
 +
 +
===Current features===
 +
At the moment the current features are available:
 +
* web-based viewing of your repository (via gitweb)
 +
* email notification upon commit to all project members
 +
* committer validation during push (username of the sselab account)
 +
 +
=== Changelog ===
 +
* 2012-11-15:
 +
** removal of remote branches is now possible
 +
** improved email messages (Subject changed)
 +
** better error message for failed push operations
 +
** Service is now activated. The private beta phase is ended.
 +
* 2012-02-27
 +
** Inital release
 +
** Only private beta phase
 +
== Send feedback to extend this description==
== Send feedback to extend this description==
Please contact us if you have question concerning the usage of the service. We are also curious about new ideas for additional services and new usage scenarios. [https://sselab.de/lab1/user/messages/send/ Send us a message over the contact form] or [mailto:admin@sselab.de?subject=Service%20Git write us an email]
Please contact us if you have question concerning the usage of the service. We are also curious about new ideas for additional services and new usage scenarios. [https://sselab.de/lab1/user/messages/send/ Send us a message over the contact form] or [mailto:admin@sselab.de?subject=Service%20Git write us an email]

Revision as of 13:29, 28 May 2013

caption

Contents

Git

Description

Git is a distributed version control system.

Aim

Git is used for version control of files, much like tools such as Subversion. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.

Workflow

Git Workflow

FAQ

Fetch URL for project

You have activated the Git service and want to clone your remote repository. If your project name is musterproject, go to the overview of your project (https://sselab.de/lab1/user/project/musterproject/) and click on the Git service.

Project Overview

You will be redirected to the web view of your remote git repository:

  • https://sselab.de/lab2/private/git/musterproject/gitweb.cgi?p=musterproject

Your repository URL will then be:

  • https://sselab.de/lab2/private/git/musterproject/

Wrong Committer Name

If I try to push my changes to the remote repository, I get the error message:

Wrong Committer name, please change it before you push!
  • This is due our feature committer validation during push. You have not set your username of your local git environment to your sselab username. They have to be the same as your account values (username of sselab and email address set in the sselab).
  • After you changed your username and email address of your local environment, you have to change this values also in each commit of you local repository.
# Set username and email 
git config --global user.name "mustermann"
git config --global user.email "mustermann@test.com" 

# Reset author of all commits in local repository
git commit --amend --reset-author

Links

Git Home page

Pro Git Book

Installation

First Steps

Current features

At the moment the current features are available:

  • web-based viewing of your repository (via gitweb)
  • email notification upon commit to all project members
  • committer validation during push (username of the sselab account)

Changelog

  • 2012-11-15:
    • removal of remote branches is now possible
    • improved email messages (Subject changed)
    • better error message for failed push operations
    • Service is now activated. The private beta phase is ended.
  • 2012-02-27
    • Inital release
    • Only private beta phase


Send feedback to extend this description

Please contact us if you have question concerning the usage of the service. We are also curious about new ideas for additional services and new usage scenarios. Send us a message over the contact form or write us an email