mirror of
https://github.com/namibia/tips.git
synced 2025-01-23 15:18:29 +00:00
🔥
This commit is contained in:
commit
68f6970979
24
README.md
Normal file
24
README.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Overwrite pull
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git fetch --all
|
||||||
|
git reset --hard origin/master
|
||||||
|
```
|
||||||
|
|
||||||
|
# List of all the files changed in a commit
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git ls-tree --name-only -r <commit-ish>
|
||||||
|
```
|
||||||
|
|
||||||
|
# Git reset first commit
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git update-ref -d HEAD
|
||||||
|
```
|
||||||
|
|
||||||
|
# List all the conflicted files
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git diff --name-only --diff-filter=U
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user