Git Commands With Examples | Top Git Commands with Examples | Git add, pull, branch, merge | Edureka

  Рет қаралды 313,164

edureka!

edureka!

6 жыл бұрын

🔥 DevOps Training (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎") : www.edureka.co/devops-certifi...
This Edureka Git video on "Git Commands with Example" ( Git Blog series: goo.gl/XS1Vux ) will explain all the basic Git commands. You will learn about the commands like git add, git init, git pull, git branch etc.
Here is the link to Git Tutorial Video: goo.gl/NRJYTs
Check our complete DevOps playlist here: goo.gl/O2vo13
DevOps Tutorial Blog Series: goo.gl/2iV2py
🔴 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐎𝐧𝐥𝐢𝐧𝐞 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐚𝐧𝐝 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬
🔵 DevOps Online Training: bit.ly/3VkBRUT
🌕 AWS Online Training: bit.ly/3ADYwDY
🔴 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐑𝐨𝐥𝐞-𝐁𝐚𝐬𝐞𝐝 𝐂𝐨𝐮𝐫𝐬𝐞𝐬
🔵 DevOps Engineer Masters Program: bit.ly/3Oud9PC
🌕 Cloud Architect Masters Program: bit.ly/3OvueZy
🔴𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐔𝐧𝐢𝐯𝐞𝐫𝐬𝐢𝐭𝐲 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐬
🌕 Professional Certificate Program in DevOps with Purdue University: bit.ly/3Ov52lT
📢📢 𝐓𝐨𝐩 𝟏𝟎 𝐓𝐫𝐞𝐧𝐝𝐢𝐧𝐠 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐢𝐞𝐬 𝐭𝐨 𝐋𝐞𝐚𝐫𝐧 𝐢𝐧 2023 𝐒𝐞𝐫𝐢𝐞𝐬 📢📢
⏩ NEW Top 10 Technologies To Learn In 2023 - • Top 10 Technologies To...
📌𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦: t.me/edurekaupdates
📌𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / edurekain
📌𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧: / edureka
📌𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦: / edureka_learning
📌𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / edurekain
📌𝐒𝐥𝐢𝐝𝐞𝐒𝐡𝐚𝐫𝐞: www.slideshare.net/EdurekaIN
📌𝐂𝐚𝐬𝐭𝐛𝐨𝐱: castbox.fm/networks/505?count...
📌𝐌𝐞𝐞𝐭𝐮𝐩: www.meetup.com/edureka/
📌𝐂𝐨𝐦𝐦𝐮𝐧𝐢𝐭𝐲: www.edureka.co/community/
Subscribe to our channel to get video updates. Hit the subscribe button above.
#GitCommands #gitEdureka #Edureka #GitHub #DevOpsTraining #DevOpsTutorial #DevOpsGit #Git #GitHub #GitTutorial #GitTutorialforBeginners #GitRebase #GitAdd #GitBranching #GitMerge #GitBash #GitCommit #GitClone #GitCommands #GitCheckout #GitConfig
About the DevOps Course
Edureka’s DevOps online training is designed to help you master key tools of Devops lifecycle like Docker, Puppet, Jenkins, Nagios, GIT, Ansible, SaltStack and Chef used by a DevOps Engineer for automating multiple steps in SDLC. During this course, our expert DevOps instructors will help you:
1. Understand the concepts and necessities of DevOps
2. Understand the need for DevOps and the day-to-day real-life problems it resolves
3. Learn installation and configuration of common infrastructure servers like Apache, and Nginx for the Enterprise
4. Learn popular DevOps tools like Jenkins, Puppet, Chef, Ansible, SaltStack, Nagios and GIT
5. Implement automated system update, installations and deployments
6. Learn Virtualization Concepts
7. Configuration deployment and packaging, continuous integration using GIT
8. Fine tune Performance and set-up basic Security for Infrastructure
9. Manage server operations using Code which is popularly known as Infrastructure as a Code
10. Understand the need for and concepts of Monitoring and Logging.
- - - - - - - - - - - - - -
Who should go for this course?
DevOps practitioners are among the highest paid IT professionals today, and the market demand for them is growing rapidly. With emergence of new job roles around DevOps philosophy, anyone aspiring to get into these new roles, can take up this DevOps course. Some of these roles are:
1. DevOps Architect
2. Automation Engineer
3. Software Tester
4. Security Engineer
5. Integration Specialist
6. Release Manager
- - - - - - - - - - - - - -
For more information, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll-free).
Customer Reviews:
Ankur Kashyap, DevOps, Build & Release says: “I was enrolled into Devops training from Edureka On a professionalism, they provide a great presentation on the topic that helps to understand the indepth of Devops technology. Good knowledgeable staff, provide recorded sessions with life time warranty. Also technical team is really helpful if you stuck in some demo sessions. Keep it up !! ”

Пікірлер: 76
@edurekaIN
@edurekaIN 6 жыл бұрын
Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka DevOps Training and Certification curriculum, Visit our Website: bit.ly/2O59dHy Use code "KZbin20" to get Flat 20% off on this training.
@samuraijack2857
@samuraijack2857 3 жыл бұрын
Git Commands 00:17 git init 01:49 git add 03:24 git commit 04:21 git status 06:08 git config 07:48 Intro to branching 08:44 git branch 08:56 creating a branch 09:26 git checkout 11:11 git merge 11:45 Deleting branch 12:06 git branch -d 12:21 git branch -D 12:50 git checkout -b 14:03 git remote add origin : connecting local repo to remote repo 14:53 Working with remote repos 15:00 git remote 15:13 git clone 16:41 pulling changes, 17:17 git pull origin master 17:50 pushing changes, 19:03 git push origin master 19:41 Adv. git commands 19:50 git stash, 20:50 git stash -u, 21:14 git stash list, 21:23 git stash show, 21:35 git stash apply 21:59 git log 24:09 git revert, 25:50 git revert HEAD 27:19 git rebase
@jade7945
@jade7945 4 жыл бұрын
you saved me, i was literally struggling ,,, d best video so far with right content.thankyou !
@j3dwin
@j3dwin 5 жыл бұрын
Great information! You went fast and that's good because you don't waste time and we can always go back if we missed something. Thank you.
@alonecutz6145
@alonecutz6145 4 жыл бұрын
The presentation was crystal clear and simpler. It will work for beginners as well as experienced ones. Thanks to the tutor and content creator.
@LoloLolo-vv2pv
@LoloLolo-vv2pv 4 жыл бұрын
This Chanel made my life easier..... Thx a million... Love you all❤️
@Baloon_edits
@Baloon_edits 4 жыл бұрын
Very professional and in less time with practice a layman can understand your this tutorial..hats off..
@theroyal1914
@theroyal1914 4 жыл бұрын
i saw lots of tutorials but, all of them creating confusion but after this tutorial i understand all fundamentals with commands, thanks 🙃
@liyingfeng4247
@liyingfeng4247 4 жыл бұрын
I really appreciate this teacher's voice and speed and all the things she taught. Thanks a lot.
@vinaykhurana9933
@vinaykhurana9933 5 жыл бұрын
Point to point and straight forward. Superb explanation. :)
@edurekaIN
@edurekaIN 5 жыл бұрын
Thanks for the compliment Vinay! We are glad you loved the video. Do subscribe to the channel an hit the bell icon to never miss an update from us in the future. Cheers!
@ramkhadap9014
@ramkhadap9014 6 жыл бұрын
very good explanation....
@lovyoutube
@lovyoutube 3 жыл бұрын
Fantastic job Sir. Thank you.
@msbhargavi1846
@msbhargavi1846 3 жыл бұрын
Really thankful to u guys...for me learning Java is easy thing compare to git, Before watching urs. now I understood very well
@kunaltijare8818
@kunaltijare8818 5 жыл бұрын
Thank You Edureka ...!
@abhishekmen1
@abhishekmen1 5 жыл бұрын
Awesome tutorial. Sweet simple and short. All the best. Keep doing.
@edurekaIN
@edurekaIN 5 жыл бұрын
Hey Abhishek, we are glad you loved the video. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!
@AnandMaurya0030
@AnandMaurya0030 6 жыл бұрын
Thanks for great explanation.
@edurekaIN
@edurekaIN 6 жыл бұрын
Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@gadgetboynaija
@gadgetboynaija 4 жыл бұрын
Why are Edureka videos always so good! You guys go in-depth in easy to undersatnd ways. Thank you!
@edurekaIN
@edurekaIN 4 жыл бұрын
Thanks! We are glad you feel this way. Do give this video a thumbs up and do consider subscribing to the channel for more amazing content. Cheers!
@santhoshgarripelly4300
@santhoshgarripelly4300 6 жыл бұрын
Thank you very much for sharing this video to us. Everyone can easily understood.
@edurekaIN
@edurekaIN 6 жыл бұрын
Hey Santhosh, thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@santhoshgarripelly4300
@santhoshgarripelly4300 6 жыл бұрын
edureka! I already Subscribed your Channel. 😊😊
@NomadicDmitry
@NomadicDmitry 2 жыл бұрын
Awesome video, knew almost everything, but haven't used "git stash" and "git rebase" much before. Thanks!
@edurekaIN
@edurekaIN 2 жыл бұрын
We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@ravisindhe
@ravisindhe 3 жыл бұрын
Very Well explained.thankyou Master.
@shabi12
@shabi12 2 жыл бұрын
Very clear and precise explanation, and examples were just right for beginners and easy to follow.
@edurekaIN
@edurekaIN 2 жыл бұрын
Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )
@punkajjdaas4790
@punkajjdaas4790 6 жыл бұрын
I really liked the tutorial, and thanks for making it, i have a query ,what is HEAD, do all branches got HEAD, what is the rile of head?
@edurekaIN
@edurekaIN 6 жыл бұрын
Hey Baadhshah, A head is simply a reference to a commit object. Each head has a name (branch name or tag name, etc). By default, there is a head in every repository called master. A repository can contain any number of heads. At any given time, one head is selected as the “current head.” This head is aliased to HEAD, always in capitals". Note this difference: a “head” (lowercase) refers to any one of the named heads in the repository; “HEAD” (uppercase) refers exclusively to the currently active head. This distinction is used frequently in Git documentation. You can think of the HEAD as the "current branch". When you switch branches with git checkout, the HEAD revision changes to point to the tip of the new branch. You can see what HEAD points to by doing: cat .git/HEAD In our case, the output is: $ cat .git/HEAD ref: refs/heads/master Hope this helps :)
@mdmursalin7210
@mdmursalin7210 4 жыл бұрын
thanku so much sir for big help
@logomoniclearning6680
@logomoniclearning6680 5 жыл бұрын
best git vid ive seen sofar
@edurekaIN
@edurekaIN 5 жыл бұрын
Thanks for the compliment! We are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!😊
@asdfgh3098
@asdfgh3098 2 жыл бұрын
Great information. Explained in a crisp manner.. Excellent 👌👌👍👍
@edurekaIN
@edurekaIN 2 жыл бұрын
Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)
@mearn_ctaftsman
@mearn_ctaftsman 3 жыл бұрын
This is awesome 👍👍👍👍
@proudindian3697
@proudindian3697 6 жыл бұрын
Fantastic video!! Thanks saurabh
@edurekaIN
@edurekaIN 6 жыл бұрын
Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)
@pardhasaradhireddy6388
@pardhasaradhireddy6388 6 жыл бұрын
Dude, I am always happy with your Videos. Thanks Saurabh.
@edurekaIN
@edurekaIN 6 жыл бұрын
Hey Pradhasaradhi, thank you for being an avid learner with us. We are happy to serve people like you! Do check out our website and the courses we offer: www.edureka.co /all-courses Hope this helps :)
@bhagyashreejoshi3797
@bhagyashreejoshi3797 2 жыл бұрын
This is great ...
@dhavalshah3519
@dhavalshah3519 5 жыл бұрын
Explained beautifully
@sarathkumardv1274
@sarathkumardv1274 Жыл бұрын
Thanks for your efforts I enjoy lot of
@edurekaIN
@edurekaIN Жыл бұрын
Glad you liked it !!!
@CWNC
@CWNC 4 жыл бұрын
I enjoyed the pacing of the course and the clarity of the instructor.
@MuhammadZubair-co5jl
@MuhammadZubair-co5jl 2 жыл бұрын
Thanks for that much Information with examples.
@edurekaIN
@edurekaIN 2 жыл бұрын
We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
@bhargavipolisetty222
@bhargavipolisetty222 Жыл бұрын
Thank you so much! Best explanation I have ever heard, Keep doing this!!
@edurekaIN
@edurekaIN Жыл бұрын
You are welcome 😊 Glad it was helpful!! Keep learning with us ..
@prashanthreddy5546
@prashanthreddy5546 Жыл бұрын
In git config what is the difference by adding it git global and git locally (7.0 mins)
@mash4077ist
@mash4077ist Жыл бұрын
Super
@pooransingh5802
@pooransingh5802 4 жыл бұрын
is it better to push changes directly into master branch ?
@edurekaIN
@edurekaIN 3 жыл бұрын
For learning purposes, yes. However, in a professional environment it will depend upon other factors.
@ratikadeshmukhr2772
@ratikadeshmukhr2772 2 жыл бұрын
Good
@sureshkarki2174
@sureshkarki2174 4 жыл бұрын
what if I want to push to files from local to a remote branch. how do I do it..?
@edurekaIN
@edurekaIN 3 жыл бұрын
Create a new branch: git checkout -b feature_branch_name. Edit, add and commit your files. Push your branch to the remote repository: git push -u origin feature_branch_name.
@sakshibag1479
@sakshibag1479 3 жыл бұрын
Very nice video. During revert , I get this error git revert 1873eaf error: Reverting is not possible because you have unmerged files. hint: Fix them up in the work tree, and then use 'git add/rm ' hint: as appropriate to mark resolution and make a commit. fatal: revert failed I have only one master branch Please help
@edurekaIN
@edurekaIN 3 жыл бұрын
Hi Sakshi, It is a merge conflict from some merge you attempted before. The unmerged files are the files where the merge conflict happened. As stated in the error message, you should take care of these files and the contained conflicts before you do anything else. One additional option is to do a hard reset - only attempt this if you know what you're doing.
@bhavnavharitsa7653
@bhavnavharitsa7653 5 жыл бұрын
why do you give "touch " before creating a file and " gedit " before pushing it
@edurekaIN
@edurekaIN 5 жыл бұрын
Hey Bhavna, touch: creates the file Geddit: edits the file. Hope this helps!
@nampallymahesh6474
@nampallymahesh6474 3 жыл бұрын
Thanks edureka
@edurekaIN
@edurekaIN 3 жыл бұрын
Happy to hear that!We are glad to have learners like you . Do subscribe our channel and hit that bell icon to never miss an video from our channel .
@pankajbarge3297
@pankajbarge3297 6 жыл бұрын
saurav you are explaining very short and quickly ..... please illabrate slowly
@edurekaIN
@edurekaIN 6 жыл бұрын
Hey Pankaj, thank you for the feedback. We will definitely work on it. We hope to see you on our channel again! Cheers :)
@alexgathuri9349
@alexgathuri9349 3 жыл бұрын
how do i change branch from main to master?
@edurekaIN
@edurekaIN 3 жыл бұрын
Hi Alex, you can use the git checkout command to switch branches. Cheers :)
@saikumar-bx7pi
@saikumar-bx7pi 2 жыл бұрын
Bro, I got the JOB with 2.5 Years(JAVA) Experience, But I Don't know Real Time Work Experience, Can you Please Suggest me How can I Continue With my JOB?
@udaybhaskarnamburu7272
@udaybhaskarnamburu7272 3 жыл бұрын
How to compare a modified file with it's previous commit and make sure that I am committing the correct changes? As developers, we tend to add debug and log statements during the development process and we don't need them in the production code.
@edurekaIN
@edurekaIN 3 жыл бұрын
Hi Uday, You can use the git diff command for this.
@krishsnewera
@krishsnewera 3 жыл бұрын
Git Repository link ??
@edurekaIN
@edurekaIN 3 жыл бұрын
Hey Chaihanya ! Check this out might help you : kzbin.info/www/bejne/rqalYnyaZ7yrl80 :) Do subscribe the channel to get regular updates !
@elyordoniyor4061
@elyordoniyor4061 3 жыл бұрын
🖒👍
@MuniemSpeaks
@MuniemSpeaks Жыл бұрын
When I am writing this command [training@localhost ~]$ git add eduraka.py It is showing me that bash: git: command not found... How to deal with this???
@ferozazad8933
@ferozazad8933 2 жыл бұрын
Im not getting command gedit edureka.py >> getting error [bash: gedit: command not found]
@GamingTricks_Tips
@GamingTricks_Tips 3 жыл бұрын
Super
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 20 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 59 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 14 МЛН
7 Git Tips To Overcome Your Fear of Version Control
11:42
Travis Media
Рет қаралды 10 М.
What is DevOps? REALLY understand it | DevOps vs SRE
35:33
TechWorld with Nana
Рет қаралды 874 М.
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
Complete Git and Github Hands On Tutorial with Commands
31:24
Cloud Champ
Рет қаралды 35 М.
Git. Большой практический выпуск
1:38:17
Артем Матяшов
Рет қаралды 526 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 20 МЛН