-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git_cheatsheet_added #227
base: main
Are you sure you want to change the base?
git_cheatsheet_added #227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great having you contribute to this project
Welcome to the community 🤓Thanks for joining our community - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.
Sir, can you please review this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested some modifications.
@@ -68,6 +68,10 @@ created: 2022-10-18 | |||
| `git checkout [file]` | Matches the file with last commit | | |||
| `git help -a` | Shows the list of all available Git commands | | |||
| `git restore .` | To restore all files in the current directory | | |||
| `git-submodule` | Initialize, update or inspect submodules | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't the correct command. Please, follow this referral link and modify it with the correct command.
@@ -68,6 +68,10 @@ created: 2022-10-18 | |||
| `git checkout [file]` | Matches the file with last commit | | |||
| `git help -a` | Shows the list of all available Git commands | | |||
| `git restore .` | To restore all files in the current directory | | |||
| `git-submodule` | Initialize, update or inspect submodules | | |||
| `git-gui` | A portable graphical interface to Git | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't the correct command. Please, follow this referral link and modify it with the correct command.
@@ -68,6 +68,10 @@ created: 2022-10-18 | |||
| `git checkout [file]` | Matches the file with last commit | | |||
| `git help -a` | Shows the list of all available Git commands | | |||
| `git restore .` | To restore all files in the current directory | | |||
| `git-submodule` | Initialize, update or inspect submodules | | |||
| `git-gui` | A portable graphical interface to Git | | |||
| `git config --global core.excludesfile [file]` | System wide ignore patern for all local repositories | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `git config --global core.excludesfile [file]` | System wide ignore patern for all local repositories | | |
| `git config --global core.excludesfile [file]` | - Set up your global `core.excludesfile` configuration file to point to this global ignore file <br /> - `git config --global core.excludesFile '~/.gitignore'` | |
Command | Description |
---|---|
git config --global core.excludesfile [file] |
- Set up your global core.excludesfile configuration file to point to this global ignore file - git config --global core.excludesFile '~/.gitignore' |
What does this PR do?
Description
Screenshots or Links
Additional context
Checklist:
Follow-up