Push: delivers commits to the recipient and requests that they update their branch. This necessitates that everything on their end is in order. It is impossible to combine simultaneous growth in this way. Pull: executes git fetch, which fetches commits and updates your Git's remote-tracking name, before running a second Git command to update your branch.
The git fetch command copies commits, files, and references from a remote repository to your local repository. Fetching is what you do when you want to know what other people have been up to.
The git push command is used to transfer content from a local repository to a remote repository. Pushing is the process of sending commits from a local repository to a remote repository. It's similar to git fetch, except that instead of importing commits to local branches, pushing exports them to remote branches.
git pull origin/master merges changes from the locally stored branch origin/master with the checked-out branch. The origin/master branch is a "cached copy" of what was last fetched from origin, which is why it's referred to as a remote branch in git.
It's no secret that using git push —force is risky. It will, without a doubt, replace the remote with your local changes—and it will not check to see if this will override any changes made up to the remote throughout the process. Even the most cautious development team faces danger while working in a shared repository.
hello sit please solve forem issue forem start not ho raha hai
git commit se bahar kaise nikle ye to aapke leran vern k piche he chup gya h thoda sahi se smjhao sir kaise jaha insert likha hua h waha likhne ka option he nhi aaraha h what should i do plz tell me
easy to understand
Well done Learn Vern, you are doing a fabulous job, Nikhil has nailed the session, Please enhance Github Actions session. Thanks!!
Best Course I have ever seen.
bhut hi achhe se samajh gye
Thank you LearnVern to make a necessary learning platform for Software Engineering students for free of cost. this is totally helpful for us
Very Good for Beginner to Master in Git & GitHub.
better course and it will be start from scratch and helpful.
Share a personalized message with your friends.