- Lokale Branches erleichtern Abeit an mehreren Features gleichzeitig, wenn man bei einem Feature geblockt ist (z.B. Meeting bzgl. Architektur ausstehend)
- Gute Integration in Visual Studio
- lokale Operationen deutlich schneller als mit SVN
- Arbeiten ohne Verbindung zum Server möglich (Zug, Homeoffice und VPN funktioniert gerade nicht etc.)
- Änderungen in der History direkt in der IDE anschauen -> Syntaxhighlighting, Ordnerstruktur, mehrere Fenster
- Staging Area geht nicht verloren, wenn man vor dem Commit doch noch Änderungen (usings aufräumen) am Code macht (Bei Tortoise SVN muss man wieder manuelle die Checkboxen setzen)
- CodeLense zeigt mehr Daten an (Autor, letzte Änderung, wieviele Änderungen insgesamt etc.)
- neu hinzugefügte Dateien sind offen sichtbar und müssen nicht extra rausgesucht werden, so können sie nicht vergessen werden
- einfache .gitignore Datei, um Dateien zu verstecken, die nie eingecheckt werden -> so übersieht man nicht die neu hinzugefügten Dateien in dem ganzen Durcheinand
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.ComponentModel; | |
| using System.Runtime.CompilerServices; | |
| abstract class PropertyChangedInformer : INotifyPropertyChanged | |
| { | |
| public event PropertyChangedEventHandler PropertyChanged; | |
| protected void OnPropertyChanged([CallerMemberName] string propertyName = null) | |
| { | |
| PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); |
git-svn is a git command that allows using git to interact with Subversion repositories.git-svn is part of git, meaning that is NOT a plugin but actually bundled with your git installation. SourceTree also happens to support this command so you can use it with your usual workflow.
Reference: http://git-scm.com/book/en/v1/Git-and-Other-Systems-Git-and-Subversion
You need to create a new local copy of the repository with the command