Git Interview Questions
GIT Interview Questions I. Git Fundamental Level Interview Questions 1. What is git ? Git is Source code management tool and an open-source distributed version
GIT Interview Questions I. Git Fundamental Level Interview Questions 1. What is git ? Git is Source code management tool and an open-source distributed version
Product backlog (8 story) ↓ Sprint planning ↓ Sprint – 1 : backlog (4 Story) ⇒ 1 – 4 Weeks ↓ Epic – 1 :
1. Add changes to cloned repository, Here changed : contact with contactus Vi Editor opens : Press I to edit files , to save press
1. Create your project and open that directory , right click and select git bash here 2. Initializing the git git init 3. Check your
git fetch git pull Fetch downloads only new data from a remote repository. Pull is used to update your current HEAD branch with the latest
1 Fetch repo git fetch< repository Url> 2 Fetch specific branch fetch <branch URL><branch name> 3 Fetch all branches git fetch -all 4 Get latest
Git upload the local changes to the git repository with commit 1. Pushing the changes to main branch or specific branch git push origin <branch-name>
Task/Demo : Pull the latest changes made in remote repository (i) We cloned a repository , and listed files now we can see the list
Creating remote origin : git remote add origin <repository url> git remote add origin https://github.com/sagarfive/nature-website We can also use other names for repository shortname git
Check remote repository git remote Check remote repository URL git remote -v Adding remote repository git remote add <short name><remote URL>git remote add origin-git