User Tools

Site Tools


git:git

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git:git [2020/10/21 18:37] msgit:git [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 30: Line 30:
 </code> </code>
 ===== git Versionierung ===== ===== git Versionierung =====
-Repo von einem entferntem GiLab lokal clonen+Repo von einem entferntem GitLab lokal clonen
 <code> <code>
 cd local_project cd local_project
Line 42: Line 42:
 > Unpacking objects: 100% (3/3), done. > Unpacking objects: 100% (3/3), done.
 </code> </code>
 +Files vom repo-Synk ausschliessen:\\ 
 +Alle Dateien die in ''.gitignore'' gelistet sind werden von git ignoriert.\\ 
 +<code> 
 +git status 
 +git add -A 
 +git reset [<file>
 +git commit -m "erstes Script" 
 +git log 
 +git remote -v 
 +git branch -a 
 +git diff 
 +git pull origin master 
 +git push origin master 
 +</code> 
 +Alle Versionen auflisten\\ 
 +''git log <file>''\\ 
 +Version vor 3 commits ansehen\\ 
 +''git show HEAD~3:<file>''
git/git.1603298252.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki