Skip to content

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.

Notifications You must be signed in to change notification settings

zeeshandev15/git--github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

step 1: git installation to verify (git --version)

h1>

step 2: configure git with username and email

step 3: how to create git repo (hidden repo) ?

  • Answer git init

how to check the hidden file like ./git?

  • Answer: ls -la

step 4: git status

  • Viewing Modified Files
  • Untracked Files

step 5: git add .

  • Track all files

step 6: git commit -m "some message"

  • describe changing

step 7: git log

  • History of commits

step 8: create github repo

step 9: git remote add origin git@github.com:Hi-Dear-486/git--github.git
Answer: local repo link with remote repo

step 10: git remote -v
Answer: verify remote

step 9: git branch -M
Answer: renaming branch

step 10:git push -u origin main
Answer: local repo content ->remote repo

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages