https://github.com/ahmedalyelghannam/git_cheatsheet
https://github.com/ahmedalyelghannam/git_cheatsheet
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmedalyelghannam/git_cheatsheet
- Owner: AhmedAlyElGhannam
- Created: 2024-11-15T15:57:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T18:04:14.000Z (7 months ago)
- Last Synced: 2024-11-15T19:18:45.125Z (7 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git_Cheatsheet
## Creating a Remote Repository and Cloning It Locally
1. Open your Github account and press on the green box titled `New Repository`.
2. Enter a name for your repository.
3. Add a README file (mandatory).
4. Add .gitignore file (optional).
5. Add a licence (optional).
6. Press `Create Repository`.
7. Press on the green box titled `<> Code`.
8. Copy the ssh link for your repository. (You need to create an ssh key beforehand)
9. Open your terminal (Linux) and navigate to the directory you want to clone the repo into then enter the command:
```
git clone ssh_link@github
```
10. Done! Now you can edit it and push your local progress remotely!## Creating a Local Repository and Pushing It Remotely on Github
1.