Docs/Git cheat sheet.md
2022-02-17 20:05:51 +01:00

14 lines
260 B
Markdown

#### 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>