HOW TO USE GITHUB
GitHub is a Git repository hosting service that provides a web-based graphical interface. It is the world’s largest coding community. Putting a code or a project into GitHub brings it increased, widespread exposure. Programmers can find source codes in many different languages and use the command-line interface, Git, to make and keep track of any changes.
GitHub helps every team member work together on a project from any location while facilitating collaboration. You can also review previous versions created at an earlier point in time.
So now we know what Git and GitHub are. Time to gain a better understanding of the importance and relevance of what is GitHub by exploring its features.
Practical's with GitHub
Working Directory : It is the folder where you want to add your working files and the folder on your machine and to set up the Local Repository in a working directory you must open the working directory path in git bash how to install git bash. https://techhealthgame.blogspot.com/2022/10/installing-git-bash.html
Staging Area: To start tracking files of your working directory you must add your files to staging area enter the command git add .
Local Repository: To add the files available in staging area to the the local repository you need to run two commands.
1. git commit -m "message you want to pass while passing the code about the changes you made."
2.git push is the command to push the code to the Repository
0 Comments