https://github.com/harsh3dev/newcalcx
Temporary git repo to practice git
https://github.com/harsh3dev/newcalcx
Last synced: 4 months ago
JSON representation
Temporary git repo to practice git
- Host: GitHub
- URL: https://github.com/harsh3dev/newcalcx
- Owner: harsh3dev
- Created: 2023-09-02T12:05:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T09:33:01.000Z (over 2 years ago)
- Last Synced: 2025-04-13T16:13:56.859Z (about 1 year ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
1. `git init ` - to initialise a new git in the local machine, it will start tracking the project
2. Create new repo in [github.com](github.com), copy the link of the repo
3. `git remote add origin ` - this adds the "remote" to "origin"
3.1. `git remote -v` - to confirm that remote has been added
4. Now the local repo and github repo have been linked
5. `git add .` - this adds the changed files to the staging area
6. `git commit -m` "message" - this commits the changes added to the staging area, to head but not to the remote repository
7. `git push origin master` - sends changes to the master branch of the remote repository
8. ***Till now the initial changes have been saved to the master branch in github***