Before going through this session, please visit my below-mentioned sessions related to Git and GitHub,
- Introduction To Git
- Steps For Configuring Git With Details
- Let's Know About Git Add, Git Commit, Git Status, And Git Push-In Details
- Let's Understand How Git Maintains History Of Version Or Commit Ids With Details
- Steps To Initialize A Git Repository And Push The Changes To GitHub In Details
- Let's Know About Git Branches And How To Implement It
- Let's Understand About Git Branches And Its Real-Time Uses
- Let's Learn About Merging The Git Branches And Create Pull Request In Details
- Steps To Ignore Files Using Gitignore In Details
- Let's Learn About Git Default Branch In Detail
- Steps To Create And Configure Organizations In GitHub In Details
- Let's Learn About GitHub Projects In Detail
- Lets Know About Team In GitHub In Details
Owner add files using git bash in the main branch
Step 1
Here the owner InfoSatya will create a local directory and mention his User Email and User Name of GitHub account for author identity using Git Bash as shown below,
Step 2
Here the owner will clone the GitHub repo as shown below,
Step 3
Here we check the file details after clone the GitHub repo as shown below,
Step 4
Here we change directory to GitHub repo folder in local as shown below,
Step 5
We check the default branch associated with the GitHub repo as shown below,
Step 6
Here we check the actual .NET Health care project path using visual studio as shown below,
Step 7
The same copy we need to move to our GitHub repo folder as shown below,
Step 8
Now we check the status of Git with updated files and folders as shown below,
Step 9
Here we add the new changes to the staging part of our repo using Git Bash as shown below,
Step 10
Then commit those changes to Git as shown below,
Step 11
Then check the status after successful commit as shown below,
Step 12
Then push those changes to our GitHub repo as shown below,
Step 13
Now we check our GitHub repo after logging into Owner account to check project details after successful push as shown below,
Step 14
Here we create a new directory to clone the project in the GitHub repo.
Step 15
Check the project details after successfully cloning the repo as shown below,
Step 16
Then open solution (.sln) using visual studio as shown below,
Step 17
Then run the project to check the output as shown below,
Step 18
Let's check the programming languages in the .NET Health care project that uploaded to GitHub repo as shown below,
Step 19
Check the uploaded project status; i.e., number of commits, time duration, name of the user who uploaded, and the commit messages in GitHub repo as shown below,
Step 20
Here we check the project commit details as shown below,
Step 21
Here we check the latest files commit details by the owner as shown below,
Step 22
We check the maximum percentage of programming language present in GitHub repo i.e. HTML as shown below,
Step 23
Here we check the uploaded .NET project files details in GitHub repo as shown below,
Summary
In this write-up, we have learned the below details,
- Owner add files using git bash in the main branch in depth
- Clone the uploaded project of GitHub repo for testing purposes
Thank You & Stay Tuned For More