git_gitea

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
git_gitea [01/10/2022 - 10:26] – ↷ Seitename wurde von git auf git_gitea geändert thommie4git_gitea [30/06/2023 - 18:23] thommie4
Zeile 8: Zeile 8:
 ===== GIT ===== ===== GIT =====
  
-==== Basisfunktionen & Lokale Instanz ====+==== Basisfunktionen & lokale Instanz ====
  
   - Arbeitskopie = die echten Dateien, dynamisch   - Arbeitskopie = die echten Dateien, dynamisch
Zeile 58: Zeile 58:
 <code> <code>
 git remote add upstream ''git@github.com:https://github.com/owncloud/docs.git'' git remote add upstream ''git@github.com:https://github.com/owncloud/docs.git''
 +</code>
 +
 +==== Authentifizierung über access token ====
 +
 +<code>
 +git remote set-url origin https://username:token@github.com/username/repository.git
 </code> </code>
  
Zeile 93: Zeile 99:
 </code> </code>
  
-Zum master wechseln+Zum master bzw. main wechseln
  
 <code>''git checkout master'' <code>''git checkout master''
Zeile 225: Zeile 231:
 |  |  | |  |  |
  
-====== Atom ====== +====== Repo duplizieren ======
- +
-[[https://flight-manual.atom.io/|https://flight-manual.atom.io/]] +
- +
-Globale Tastenkürzel +
- +
-^Kürzel ^was machts ^Anmerkung | +
-|Ctrl-Shift-P |Kommando-Palette |  | +
-|Ctrl-T oder Ctrl-P |Suche nach Dateiname im Projekt |  | +
-|Ctrl-B |Suche nach Text in offenen Dateien im Projekt |  | +
-|Ctrl-F |Suche nach Text in allen offenen Dateien |  | +
-|Ctrl-Shift-F |Suche nach Text in alle Dateien im Projekt |  | +
- +
-===== Atom Fenster ausserhalb des sichtbaren Bereiches ===== +
- +
-[[https://github.com/atom/atom/issues/6939|https://github.com/atom/atom/issues/6939]]+
  
-Workaround:+Create a bare clone of the repository.
  
-''atom –clear-window-state ''+$ git clone --bare https://github.com/exampleuser/old-repository.git
  
-oder+Mirror-push to the new repository.
  
-ALT+TAB–>select atom ALT+space–> select maximize.+$ cd old-repository.git 
 +$ git push --mirror https://github.com/exampleuser/new-repository.git
  
-oder für Windows+Remove the temporary local repository you created earlier.
  
-  * Select the Atom window (using Alt-Tab or mouse) +$ cd .. 
-  * Open the context menu with Alt-Space. +$ rm -rf old-repository.git
-  * Select move using “m” +
-  * Press any of the arrow keys+
-  * The Atom window will now be possible to drag back to the main monitor using the mouse.+
  
 ====== Markdown ====== ====== Markdown ======
  • git_gitea.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1