https://github.com/theodorusclarence/git-tips
https://github.com/theodorusclarence/git-tips
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/theodorusclarence/git-tips
- Owner: theodorusclarence
- Created: 2022-03-15T14:44:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-30T10:52:49.000Z (over 3 years ago)
- Last Synced: 2025-02-10T13:15:03.250Z (8 months ago)
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Tips
Testing Tips
## 1. Renaming Last Commit
```sh
git commit --amend
```https://youtu.be/jYV1utbwLRI
## 2. Renaming with rebase
```sh
git rebase -i HEAD~n
```https://youtu.be/gX99EClXvRo
## 3. Why should we use push force
```sh
git push -f
```https://youtu.be/YcakIFYV3CU