Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zakaria9375/git
https://github.com/zakaria9375/git
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zakaria9375/git
- Owner: Zakaria9375
- Created: 2024-08-10T12:05:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T08:38:42.000Z (4 months ago)
- Last Synced: 2024-10-16T19:36:07.769Z (2 months ago)
- Size: 183 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changes.md
Awesome Lists containing this project
README
# Git Cheat Sheet
## Everyday Commands
```shell
git status -s
// D deleted, ?? Untracked, M modified, A addedgit add .
git commit -m "msg"
// to view history
git log --oneline --all --graph// restore last commit for modified filed
git restore .// undo to last commit deleting untracked files
git clean -fd```
## Links
- [working with Remote Repos](./remote.md)
- [handling changes and commit](./changes.md)
- [working with branches](./branches.md)