Day-11 | Git Interview Q&A and Commands for DevOps | Real World Example |
ฝัง
- เผยแพร่เมื่อ 17 ม.ค. 2023
- Support my work
www.buymeacoffee.com/abhishekprd Hi Everyone, Today is Day 11 of Free DevOps course and In this class we will take a look at the a real time examples to understand about the git commands and interview questions.
More Git Interview Questions
========================
• Git Interview Q&A Part...
Telegram channel
===============
t.me/abhishekveeramalla
About me:
-----------------
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam-veeramalla
Medium: / abhishekveeramalla-av
TH-cam: / @abhishekveeramalla
Thank you for all you do. I watched all first 10 videos in one day. Lol. I can't wait to complete Day 45. I am in the U.S and I must say you are the biggest threat to any DevOps training course on the internet. Other courses teach you how to use the tools but you actually teach people how to be a DevOps engineer. I feel like I have been working at a real DevOps job. Thank you!
Thanks, it means a lot
We all agree completely with his statement. @Ahbishek.Veeramalla
agree..
10000% agree King you droped 👉 👑
These are typos.. But it matches 😂
Impeccable. Thank God for your life.
The best thing about this bootcamp is you are doing each and every real interview questions practically. You are just awesome in settling tough things in my mind with ease. Hats off to you sir thank you so much
Wow, thank you!
Thank you so much for all the hard work you are putting in to teach DevOps for free to everyone, hope you will reach your goals in life!
Hi Abhishek , Amazing KT .Great Vedio to know git day 2 day commands . The branching concept very well explained . Thank you
Thank you
such a great Hands on Experience
Thank you for this course
Very well explained Sir. Thanks a lot
It understood git commands very well in a practical way. Thank you👏👏
did remote add worked in ur machine ?
This video's are Not only for Devops engineer, every developer has to watch this , Thanks for in detail information my pal
Thanks 🙏
Great video Abhishek,very well explained with examples.However my one suggestion would be that you should have talked about a "Pull Request",and about how one should not push the code directly to the main codebase of an organisation.Instead create a seperate branch,do our necessary changes locally,and "create a pull request" which upon confirmation gets merged to the main/master branch after getting accepted.
He didn't talk about staging area too
Abhishek Once again Thank you so much for all the hard work you are putting in to DevOps for free to everyone, hope you will reach your goals in life!
Finally, now i know the difference between merge and rebase 🙌
Thanks for the amazing work
Glad you liked it!
Same here after watching so many videos now i understood
Hi abhishek you are excellent.. very well explained
thank you,.
It's truly fantastic to have the opportunity to learn the DevOps course with real-world examples, which are often not offered by other institutions. Thanks Abhishek 😊
Great to hear!
Yes finally I got to know the clear understanding of difference between merge and rebase🙏
😍
Thankyou so much annayya😇 Getting lots of confidence by following your videos.
Great work
Thank you very much Abhishek Bhai You're the best.
Hi am following all your videos for devops course... its awsome... the way of explanation is very good... i read articles about git merge vs git rebase but coudnt get clear crystal difference.. after this video i got to know clearly... Thank you soo much.. if possible please make videos on all differences like in reeels/shorts like git fork vs git clone , Git revert vs gitreset
Git reflog vs git log.. it will be helpfull and it ll remains in our head long time visually
Thank you for all the branching strategies and the interview questions you provided. I practiced everything and have doubts about something but wanted to work on it on my own first and then paste it here. Thank you Abhi.
Completed this video on 01/07/2023
Awesome
Thankyou abhi you are doing great job, you really dont know how your videos helping others to build their carrier in devops.you are such a pure soul keep going buddy.
Transfering the knowledge to the others is the best thing a man can do in his life ,you are doing this at your best
What i haven't learned in 30 days , iam just learning all it in 3 days thanks for your Hard work & your concern to the community .
when ever i go through ur content i always feel iam only few steps away from getting a job in Devops
Thanks a lot
you have delivered a relevant information...right on point no random talks...wish u a lot of subs bro...
Thank you so much 🙂
Thanks sir for details info.
big brother thank you so much to teaching me like that its very easy way to learn and, now I am planning to crack devops job and I am definitely sure I will do just from you help. 🙏🙏
😍
instead of referring the remote repo URL every time you push the changes to remote repo, its better practice to use any alias name, "git remote add ", so next time onwards we can push by simply referring the alias name as " git push alias_name branch_name "
Yes
no words to say! awesome job
Thank you so much for making such kind of useful videos
Thank you so much 😀
Before git push to work. Do
git remote add
Thanks Abhishekh sir
Amazing, thanks a lot for this lesson ❤️
My pleasure!
Very informative good wrk Abhishek
Thanks a ton
AWESOME
Thanks 🤗
Thanks for the video
My pleasure!
You r a rockstar man ....my best wishes for your good health and happiness always.
Thanks alot
thanks a lot sir.....earlier i use github from vscode ui for commiting,push etc but now i m confident to use git from terminal and branching concepts are also clear. Thanks
You are most welcome
Thank You Sir! This lecture was awsome!
You are welcome
With lots of gratitude, thanks for always delivering great, simple and easy to follow content. Just wanted to suggest one thing if it's ok by you? You may want to use watch command to watch the output of the commands in real time in a splitted screen for more easier way to follow. For example `watch git log`. That way, the difference between git merge and rebase becomes more clearer to grasp. Once again thanks a bunch.
Great suggestion!
very informative video.
Awesome bro well explained Git concepts which I have faced interview with same questions..
Glad to hear that
Thanks for such a wonderful KT.
Having trouble @ 18:20 with " git remote add URL " but " git remote add origin URL "---> This working fine.
Completed Day:11 Video and Practice also done.
Thanks Veeramalla garu
GK from NJ
Great 👍
i created my own repo from second account and forked it from another account to perform the functions like push , pull , clone , merge etc...now i am feeling like i m pro....
Awesome 👍👍
Excellent Demonstration of Git commands. Especially difference between merge and rebase. Could you help to explain What is stage and unstage?
Awesome sir ❤
Thanks
Thank you ^^
Wow.Nice Explanation. Thanks Abhishek :)
Thanks a lot
things are explained in very completed way .
Thanks alot
Thank you good session abhishek
🚀🚀🚀
Hi abhishek, Thanks for uploading. your thought process demonstrates that you have a very good concepts of whatever you are teaching, however there are still a couple of areas of opportunities i.e. wrt your prsentation. Try to organize your thoughts, because you start of explaining something, then you deflect from what you intended, and then again you say lets give it an example, and then you again regress back from where you started, but you loose track of what you have been trying to say. try to slow down, or rather try to compose what you want to say. May be I have given you a fair gist, however the content is good.
Amazing work 🙌🏿
Thanks
Very nice video Abhi.. thanks for the clarity video...
My pleasure
brother you cleared my all the query thaks a lot and appreciate your efforts...love from HYD
Ameerpeth ❤
It's my pleasure
Good explanation Abhishek,gives a good overview of all the git workflow commands.
Felt you could have been a bit slow 😅 but not that much of a concern.👍.
Continue the great work.😉🙏
Thanks for the suggestion
abhishek i completed this video successfully
Hello Abhishek, hope you are doing great and I have been watching the DevOps Zero to Hero course videos.
For the first 4 to 5 videos, you are covering all the topics slowly but whenever Shell scripting started, you are too fast as you are very good with these topics and unable to catch you as I do not have previous experience on this. Need to watch 3-4 times and not able to complete the projects as well - getting many errors.
You are doing great work (Appreciate it very well) :) but explain new topics slowly when there are shell commands or any git commands like git merge and rebase as you are telling very fast on this day - 11 video. Thank you!!
like it
Awesome
Question: what is difference between git clone and git fork.
And. Fork is used to create a copy of the repository. So that we can create own version of the repository. So distribution version control system is obtained using forking.
But clone is used to download a specific repository.
love you macha 😍
👌
Thanks
really i understand all commands clearly
Super
Hi Abhisheik Iam fresher,I want to become a deveops engineer so thats why I follow your viedos but I have a one doubt how to use and install the git in our own system plz make a small viedo on that specially for freshers
@Abhishek.Veeramalla - Thanks for the session. I really appreciate the efforts you put into delivering such high-quality content.
I have a question - I am not able to authenticate the github credentials as its not supported anymore. What are other ways to do it? I am trying to push my local git repository to github repository. Thanks in advance
Q. What is the git workflow/lifecycle you use in your organisation?
git add && git commit -m "" && git push.
These three commands are that i use say in and day out.
Hi abhishek, do you upload any videos of pullrequest which we use in github?
Hi can u please let me know how we know to do merge any approvals we will get for that ? what is the process
Hi @Abhishek, Thank you for the knowledge sharing .
I have been following you DEVOPS curse ,
just a doubt, in the Day -11 video at 26:53
1. you directly started creating branches, But you did not show the how connect GIThub from LInux
2. I downloaded the GIT CLONE to download file the GITHUB, But could not see the main branch in my linux after that as you are showing in this video , i felt that something missing,
3.if possible can you take 2 min video how to connect GITHUB from linux
Super bro ❤❤❤❤
😍
Thanks a lot.... it seems very easy for understanding. But I haven't gotten the difference between Git fork and clone. Could please elaborate on it more
Thanks .. fork is like creating a copy of a repository and you can work on the copy and develop that copy. . you can share your fork with other people and they can collaborate with you.
Clone is just downloading the repo to your local system.
Thank you for the effort that you have done! We do appreciate that! in the merge and rebase part you went a little bit faster. overall Thank you
Thanks !!
hi sir .i have one dobt
can you please share which terminal you are used.
vim calculator is not working in git bash.
when you did git marge margeExmp
and check logs its showing test commit up and down this margeExp commit
but this commit not comes up why ?
then what is the different between this 2 marge concept?
same happenig bro
Hi Abhishek, Can you please explain the difference between git clone and git fork?
you are great man😍
Thank you so much 😀
Hi Abhishek, facing issues to send file(.sh) from ubuntu to github. As you told to paste public key in github end, am done. but still my code not reflecting there.Atleast show how to send from ubuntu that sample .sh to github process.
❤️
Thanks
Im having a problem with integrating the terminal with git. the problem is that you are using mac but I have downloaded on windows and i cannot use commands like touch or vim while using windows cmd. so how can i get the same Linux terminal as yours ? so that i can follow along with your video?
can you do a sample project like - code/script to -git-jenkins-docker -k8s.....we can understand output from first stage to final stage .
sir where are you performing all of this in the terminal and how. I am unable to connect.
Day-11 done ✅️
Keep Going
To clone code from a one remote repository and then push it to another remote repository ..can you explain through commands?
Got lost with with the merge and rebase stuff at the end, but this was very fruitful nonetheless. Git is something I keep having to learn as an ongoing discipline....
Git merge and rebase - exactly do you mean to say the difference is of ascending and descending order, i mean in rebase 1st commit after branch creation comes first, whereas in merge the last commits comes first; is it what you mean? Secondly also add a video on git pull and git fetch, Please.
What would be helpful is providing a list of the questions that you are going to cover in the session so it's easier to follow.
Great suggestion!
Hi Abhishek, I have a doubt. With checkout -b, we try to create new branches right? If I create a new branch, can I see that branch in the Github UI branches as well? I am trying to check it in my repositories, but apart from the main branch, I am unable to see the new branches.
You need to push to see the changes and new branch created in the UI.
Excellent I'm big fan of you man .. plz do Telugu videos also bro
Sure I will
Hi Abhishek, Thank you so much for training. One doubt here is
say for example: I am in feature branch and if I want to merge the main branch with feature branch then git rebase command is used. git rebase is used to merge the main branch with feature branch? It it right?
and merge command is used to merge other branch with main branch, this merge command we execute by sitting in main branch.
I would really happy if you clarify this doubt.
Please take a look at the video.I explained it very clearly.
Hi Abhishek,
I ran Git push, the Repo is added but i dont see anything on the Github. Any idea why? I have seen the video but you didnt push anything on the Github for reference.
Can I use SSH key connection instead of remote location inorder to establish a connection between local and github account?
Yes
to add a remote the command was git remote add origin "repo url"
git merge mergeExample
git rebase rebaseExple
To solve merge conflict sit with the developers, these are two teams which made simultaneously changes to the code, so now which code should be taken into consideration.
After solving merge confict
git add .
git commit -m " fixed merge"
git rebase --continue
git log
Completed day 11
Wow
Hi Abhishek, do we need to complete certifications if an experienced person want to apply for devops roles?
not needed
Thank you very much. I couldn't understand what you did exactly to resolve the issue while committing the changes of mergeExample and rebaseExample with Main branch. It looks like you didn't do anything specific to resolve the issue. Could you explain in simple steps if possible in the chat itself here? What I understood was that we need to sit with developer to understand what is needed vs not and then we can go ahead and commit those required changes only using rebase(to see the commits in linear fashion) or merge(merged version over top of all commits)
I did not understand your question
He actually cleared/removed/edited those arrows surrounding the changes to commit. But his point was that before you do that, you need to sit with the team involve to discuss what changes to keep or to discard.
diff b/n fork and clone not clear abhishek.copy download whatever refers same file right.and also tell about git configuration and if possible please create videos troubleshooting git push issues.😊😊
Hi abhishek. I am stuck in practice. I am getting an error of authentication in using git push command. When I use git push, it asks my github username and password but it fails even after providing correct credentials. What should I do now?
provide your username and password is provide your github token instead of password it will work fine
Hi abhishek @43:20 you say "We changed the same file and exactly we used the same reference as well". Please do calrify what do you mean by same reference? Thanks.
Hello Abhishek.. thanks for this course 🙂 . I've have below queries :
1. In this video i am unable to understand the concept of git remote and git clone..like what is the purpose of it, what is the use case of each ( like when to use what) and how to use /implement them..
2. I tried doing it following the video but it is showing authentication failed when github credentials are entered for both in cli..
3. I also tried authenticating using ssh but after that how to use git clone as it is again asking for username and password.
i'll be grateful if you explain it completely like how to use git clone and git remote and how to push the code. thank you in advance.
Please watch day-9 and day-10 before going to day-11. You should get your answer in those videos
@@AbhishekVeeramalla Hi Abhishek i've already gone through videos from day 1 to day 10..for credential query it is resolved now ..as i've used access token
can v pull the local repo to another local repo?
hey i don't understand are you using your local terminal to do this operations , if so how do i use the linux commands in power shell, i thought you are using the ec2 instance
Use gitbash
@@AbhishekVeeramalla ok , i got it tq
Hello Sir, please tell me how to create "remote repository" at time of "17:47". It's throwing an error, will be helpful if you can explain this. Thanks a lot for your videos.