Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
git_1 [2019-08-19 10:52] Joakim Forsgren |
git_1 [2019-08-25 19:51] Joakim Forsgren |
||
---|---|---|---|
Line 5: | Line 5: | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 119: | Line 119: | ||
# för att se hur läget är | # för att se hur läget är | ||
git status | git status | ||
- | # för att " | + | # för att " |
git commit -m "ett logg meddelande" | git commit -m "ett logg meddelande" | ||
# kolla loggen | # kolla loggen | ||
git log | git log | ||
+ | # kolla loggen på annat sätt, finns massa olika sätt, hitta ett som är bra och gör ett alias för det. | ||
+ | git log --oneline --graph --decorate --all --color | ||
# ta bort en fil och kör git status | # ta bort en fil och kör git status | ||
# hämta tillbaka filen med git checkout | # hämta tillbaka filen med git checkout |