Follow these steps :
This is how we can add a git repository to our account...
Follow these steps :
Following picture will be your first page of repository
Follow these steps :
Following message should be displaye on the terminal
Follow these steps :
Check Picture for help
Follow these steps :
Following picture show the status of your files for now they are untracked.
Follow these steps :
Following picture show the status of your files after performing the git add command
Follow these steps :
Now files that you have added are in local git server on your computer
Follow these steps :
Now files that you have added are in global git server on your github account
Follow these steps :
now you can see your files uploaded there
Following steps shows hot to create branches with different methods :
The difference is 'git branch' command only create new branch but 'git checkout' create and switch to that branch
Following steps shows you how to switch:
now type 'git branch' to see the current branch
Following steps:
Check the output:
First of all we have to copy the url of the repository from where we want to clone data. Follow the steps:
For help see the pic!
Open VSCode and Follow steps:
For help see the pic!
Let's say you have two branches and different work on both branches then you may habe to merge your work in a single branch. Follow steps for better understanding
Don't Forget to come back to master branch for merging our command merge newBranch changes with master branch
Steps you need to Remember!!!
See Picture for help!!
In some you may incounter such condition..
See Picture for Better understanding!!
You can choose any of the case
See Picture for Better understanding!!
The git pull command first runs git fetch which downloads content from the specified remote repository. Then a git merge is executed to merge the remote content refs and heads into a new local merge commit. To better demonstrate the pull and merging process let us consider the Picture
Pull request was successfully made!!! If we had some chnages on global repository we could chnage that using pull or implement in our repository