Compare commits
2 Commits
fc8326b340
...
53519f7546
Author | SHA1 | Date | |
---|---|---|---|
|
53519f7546 | ||
|
52fe26335b |
14
Git cheat sheet.md
Normal file
14
Git cheat sheet.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#### Checka ut specifik commit
|
||||||
|
|
||||||
|
<code>git checkout <sha></code>
|
||||||
|
|
||||||
|
#### Checka ut senaste commit
|
||||||
|
|
||||||
|
<code>git checkout master</code>
|
||||||
|
|
||||||
|
#### Pull av repository, ignorera och skriv över lokala filer
|
||||||
|
|
||||||
|
<pre><code>git fetch --all
|
||||||
|
git reset --hard
|
||||||
|
git pull
|
||||||
|
</code></pre>
|
Loading…
x
Reference in New Issue
Block a user