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 09:26] Joakim Forsgren |
git_1 [2019-08-19 09:32] Joakim Forsgren |
||
---|---|---|---|
Line 45: | Line 45: | ||
git fetch | git fetch | ||
git pull | git pull | ||
+ | </ | ||
+ | |||
+ | De kommandon du kommer att behöva som ett minimum: | ||
+ | <code bash> | ||
+ | # för att se hur läget är | ||
+ | git status | ||
+ | # för att lägga till alla filer | ||
+ | git add "file or pattern" | ||
+ | # för att " | ||
+ | git commit -m "ett logg meddelande" | ||
+ | # skicka upp det till remote | ||
+ | git push | ||
+ | # kolla loggen | ||
+ | git log | ||
</ | </ | ||
Line 87: | Line 101: | ||
</ | </ | ||
+ | <php> | ||
+ | /* | ||
==== Uppgifter efter genomgång: ==== | ==== Uppgifter efter genomgång: ==== | ||
Line 175: | Line 191: | ||
- Hämta ut din kompis ändringar | - Hämta ut din kompis ändringar | ||
+ | */ | ||
+ | </ |