https://github.com/zeeshandev15/git--github
Git is a version control system that tracks changes in code. Developers use it to manage and collaborate on their code. GitHub is a cloud-based platform that hosts Git repositories. It is primarily used for code hosting, version control, collaboration, and project management.
https://github.com/zeeshandev15/git--github
best-practices branching-and-merging collaborating-with-git getting-started-with-git git-configuration-and-setup git-repositories github-actions-and-ci-cd introduction-to-github introduction-to-version-control project-management-with-github resolve-merge-conflicts
Last synced: 3 months ago
JSON representation
Git is a version control system that tracks changes in code. Developers use it to manage and collaborate on their code. GitHub is a cloud-based platform that hosts Git repositories. It is primarily used for code hosting, version control, collaboration, and project management.
- Host: GitHub
- URL: https://github.com/zeeshandev15/git--github
- Owner: zeeshandev15
- Created: 2024-07-06T05:39:35.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T18:02:26.000Z (8 months ago)
- Last Synced: 2025-02-11T16:43:50.712Z (4 months ago)
- Topics: best-practices, branching-and-merging, collaborating-with-git, getting-started-with-git, git-configuration-and-setup, git-repositories, github-actions-and-ci-cd, introduction-to-github, introduction-to-version-control, project-management-with-github, resolve-merge-conflicts
- Language: HTML
- Homepage:
- Size: 144 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
step 1: git installation to verify (git --version)
step 2: configure git with username and email
* git config --global user.name "Muhammad Zeeshan"
* git config --global user.email "[email protected]"
* git config --liststep 3: how to create git repo (hidden repo) ?
* Answer git inithow to check the hidden file like ./git?
* Answer: ls -lastep 4: git status
* Viewing Modified Files
* Untracked Files
step 5: git add .
* Track all filesstep 6: git commit -m "some message"
* describe changingstep 7: git log
* History of commitsstep 8: create github repo
step 9: git remote add origin [email protected]:Hi-Dear-486/git--github.git
Answer: local repo link with remote repostep 10: git remote -v
Answer: verify remotestep 9: git branch -M
Answer: renaming branchstep 10:git push -u origin main
Answer: local repo content ->remote repo