User Tools

Site Tools


it:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
it:git [2013/04/02 15:17]
Alexander Rind [Setup with Eclipse and GitHub]
it:git [2015/11/25 10:14] (current)
Alexander Rind [Further Readings] Git lernen mit Beispielen
Line 40: Line 40:
       * I use ''​C:​\Users\Rind\git''​       * I use ''​C:​\Users\Rind\git''​
     - Local Destination:​ accept default values ​     - Local Destination:​ accept default values ​
-    - Select a wizard to use for importing projects \\ depending on whether ​there are Eclipse project files in the repository +    - Setup Eclipse project 
-      * prefuse-vienna+      * If there are Eclipse project files in the repository; i.e. "​Finish"​ is not grayed out. \\ Example: ​prefuse-vienna
         - Import existing project         - Import existing project
-      * EvalBench+      * Otherwise. \\ Examples: ​EvalBench, TimeBench, ieg-util, ieg-prefuse
         - Import as general project         - Import as general project
         - close project in Eclipse         - close project in Eclipse
-        - manually ​edit .project or copy from other Eclipse Java project+        - manually ​copy eclipse.project ​to .project and eclipse.classpath to .classpath \\ If this does not work in Windows Explorer, the Windows Commandline ​or a [[http://​notepad-plus-plus.org/​ | good text editor]] can be used. 
 +        - reopen ​project ​in Eclipse
       * The 3rd option (new project wizard) fails.       * The 3rd option (new project wizard) fails.
  
Line 90: Line 91:
 Source: http://​stackoverflow.com/​questions/​4528869/​how-do-you-attach-a-new-pull-request-to-an-existing-issue-on-github#​answer-4529172 Source: http://​stackoverflow.com/​questions/​4528869/​how-do-you-attach-a-new-pull-request-to-an-existing-issue-on-github#​answer-4529172
  
 +===== Rename files throughout history =====
 +
 +<code bash>
 +git filter-branch --index-filter '
 +git ls-files -s | \
 +sed "​s-\t.classpath-\teclipse.classpath-"​ | \
 +sed "​s-\t.project-\teclipse.project-"​ | \
 +GIT_INDEX_FILE=$GIT_INDEX_FILE.new git update-index --index-info && \
 +mv "​$GIT_INDEX_FILE.new"​ "​$GIT_INDEX_FILE"​
 +' HEAD
 +</​code>​
 +
 +Source: http://​www.fussylogic.co.uk/​blog/?​p=1250
 ===== Further Readings ===== ===== Further Readings =====
  
-  * [[http://​progit.org/​book/​ | Pro Git e-book]] -- i can recommend+  ​* [[http://​www.x3m.ch/​files/​Git%20lernen%20mit%20Beispielen.pdf | Git lernen mit Beispielen]] -- short tutorial in German; Markus W. recommends :-) 
 +  ​* [[http://​progit.org/​book/​ | Pro Git e-book]] -- i can recommend ​:-)
   * [[http://​book.git-scm.com/​ | git community book]] -- i didn't read   * [[http://​book.git-scm.com/​ | git community book]] -- i didn't read
   * [[http://​git-scm.com/​course/​svn.html | git crash course for Subversion users]]   * [[http://​git-scm.com/​course/​svn.html | git crash course for Subversion users]]
it/git.1364908629.txt · Last modified: 2013/04/02 15:17 by Alexander Rind

alex @ ieg: home about me publications research