.gitignore: Ignoring Files in Git | Git Tutorials #7

  Рет қаралды 162,766

CodeWithHarry

CodeWithHarry

Күн бұрын

This video is a part of my 2020 git tutorial series. Click here to access the complete course: • Complete Git Tutorials...
►Click here to subscribe - / @codewithharry
Best Hindi Videos For Learning Programming:
►Learn Python In One Video - • Python Tutorial In Hin...
►Python Complete Course In Hindi - • Python Tutorials For A...
►C Language Complete Course In Hindi -
• C Language Tutorials I...
►JavaScript Complete Course In Hindi -
• JavaScript Tutorials I...
►Learn JavaScript in One Video - • JavaScript Tutorial
►Learn PHP In One Video - • Learn Php In One Video...
►Django Complete Course In Hindi -
• Python Django Tutorial...
►Machine Learning Using Python - • Machine Learning Tutor...
►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
►Advanced Python Tutorials - • Intermediate/Advanced ...
►Object Oriented Programming In Python - • Object Oriented Progra...
►Python Data Science and Big Data Tutorials - • Python Data Science an...
Follow Me On Social Media
►Website (created using Flask) - www.codewithhar...
►Facebook - / codewithharry
►Instagram - / codewithharry
►Personal Facebook A/c - / geekyharis
Twitter - / haris_is_here

Пікірлер: 125
@ahsanalikhan7731
@ahsanalikhan7731 3 жыл бұрын
20)To ignore some files to track in git repository i) -> Create text file named ".gitignore" using command (if not exist): touch .gitignore ii)-> Add the name of the file to be ignore in .gitignore file 21)To ignore every file based on extension ii) -> Write *. in the .gitignore file example : if we want to ignore all files having .log extension open .gitignore file and add " *.log " in that file. 22)To ignore folder inside git repository ii) -> Write / in the .gitignore file example : if we want to ignore all folder named "dir" inside git repository open .gitignore file and add " dir/ " in that file. 23)To ignore outer folder inside git repository ii) -> Write // in the .gitignore file example : if we want to ignore outer folder named "dir" inside git repository open .gitignore file and add " /dir/ " in that file.
@sarveshdevrukhakar
@sarveshdevrukhakar 2 жыл бұрын
Nice. It'll helpfull for begginers.
@mayoormb8634
@mayoormb8634 2 жыл бұрын
Thanks much bro, its quite helpful
@krishnavamshi31
@krishnavamshi31 2 жыл бұрын
very helpful! Thanks
@gamerslivez
@gamerslivez Жыл бұрын
❤❤❤😊
@ahmadansari1398
@ahmadansari1398 3 жыл бұрын
Harry Bhai tum chalte-firte stack overflow ho 💖🔥
@jeevan1016
@jeevan1016 Жыл бұрын
😅agree
@onlystudy7943
@onlystudy7943 9 ай бұрын
Mean bahut jyada sikha rahe hai aesa bol rahe ho
@Kanchankumari-vi9dy
@Kanchankumari-vi9dy 2 жыл бұрын
Now I'm here for clearance of my all doubt related to got ...and I'm very happy because I know that my all doubt will be clear very soon... Thanks Harry sir ☺️☺️
@jayganeshgupta8799
@jayganeshgupta8799 3 жыл бұрын
thank you yar harry bhai. bahut badhiya content banaate ho aap aur bilkul desi andaz me batate ho sab kuch clear ho jata hai.
@Unknowndestinationtotravel
@Unknowndestinationtotravel 5 жыл бұрын
Thanks for Teaching this tutorials with such great efforts and so much love..Really you a masterpiece in this world...😍😍
@ramashish8158
@ramashish8158 Жыл бұрын
Best teacher on KZbin ever
@ManDanielJames
@ManDanielJames 4 жыл бұрын
awesome. this showed me exactly what i needed, in a concise, and clear way, thanks for uploading 😁
@shailns.2837
@shailns.2837 8 ай бұрын
thankyou harry bhai.. love u bro.... itne ache se to coaching m paise de kr b nahi sikh paya tha..... thankyou for making me interest in this...
@arunsuthar4783
@arunsuthar4783 Жыл бұрын
harry bhai is the god of cs
@mohdmuzaffarahmed4923
@mohdmuzaffarahmed4923 4 жыл бұрын
cool simple easy .........outstanding....
@NeverQuitOk
@NeverQuitOk 5 жыл бұрын
Node Js par bhi tutorial banaiyea, eagerly waiting for your response
@dheerajyoo
@dheerajyoo 5 жыл бұрын
Sir you are great 😍😊 Happy Dhanteras sir 😁
@Mobbgaming
@Mobbgaming 9 ай бұрын
very basic but 90% engineers dont know. Thanks Harry bhai
@onlystudy7943
@onlystudy7943 9 ай бұрын
😂
@kuchalaggyan2502
@kuchalaggyan2502 3 жыл бұрын
Bro you teach in a unique style . I like your video most. But sorry to say that in my pc it dosen't work.
@shrinivaschinchani6518
@shrinivaschinchani6518 4 жыл бұрын
Too good dude :) awesome explanation , keep teaching
@sukhwantsingh501
@sukhwantsingh501 Жыл бұрын
jo files hidden hoti hai like .DS_store which is not hiding by writing. .DS_Store in the ignore file.
@abhishek_singh_52
@abhishek_singh_52 Жыл бұрын
Bhaiya Your Are Best ❤️
@atulambadepatil
@atulambadepatil Жыл бұрын
thank u very much bhai , easily understood
@nikshadali50
@nikshadali50 2 жыл бұрын
Thanks Harry bhai for awesome teaching
@DiwakarEditz
@DiwakarEditz 5 жыл бұрын
Harry sir pls C programing GUI tutorial start karo
@manishkataria2149
@manishkataria2149 3 жыл бұрын
Thank you Harry Bhai
@bernetsubo4431
@bernetsubo4431 4 жыл бұрын
Thank you from Nepal
@innovativediscussionsamp6308
@innovativediscussionsamp6308 4 жыл бұрын
me too
@piyushsipani4163
@piyushsipani4163 4 жыл бұрын
Great job sir
@ankitpaudel
@ankitpaudel 4 жыл бұрын
what if we want to ignore every sub directory form the location of .git except some directories and subdirectories ?
@pratik6501
@pratik6501 Жыл бұрын
thanks brother
@lovkush5257
@lovkush5257 2 жыл бұрын
harry bhai you r ✝✝ inspiaration
@gourangpathak276
@gourangpathak276 2 жыл бұрын
these git videos are really helpful man
@codderrrr606
@codderrrr606 2 жыл бұрын
you taught very well.
@pankajwandre5961
@pankajwandre5961 5 жыл бұрын
Harry bhai android ki series aage badhao na plz..
@thetopperinfo
@thetopperinfo 2 жыл бұрын
AWesome dear sir thanks for showing this video i am just a fab of you!
@SLOGGYPLAYZ
@SLOGGYPLAYZ 3 жыл бұрын
congrats for 2million subs
@bigbillionstartup4122
@bigbillionstartup4122 3 жыл бұрын
Really Awesome man
@Freshmore-Fact
@Freshmore-Fact Жыл бұрын
thanks
@anupkumar2736
@anupkumar2736 3 жыл бұрын
Great way of teaching.
@rishib2898
@rishib2898 5 жыл бұрын
Keep it up harry bro
@MUHAMMADALI-xi4st
@MUHAMMADALI-xi4st 3 жыл бұрын
awesome Harry!! thumbs up!!
@usama5619
@usama5619 Жыл бұрын
tnx
@amitsaini1109
@amitsaini1109 2 жыл бұрын
Thanks Harry Bhai !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@engineerbhai7642
@engineerbhai7642 5 жыл бұрын
You are great sir.
@samirpatil551
@samirpatil551 5 жыл бұрын
Hey Harry Bro I get Confuse Which language for android Development I watched your Full Python course from Tourial 1 to Tutorial 69 since 25 Sept I also start with your Django Course and I'm in First year Engineering I wann learn advanced android development . And upto this May 2020 so which language you prefer me Java or ( Python With KIVY ) And video On kivy Plz reply
@Tussu17
@Tussu17 2 жыл бұрын
Python with Kivy is useless instead go with Java/Kotlin
@daniyalmalik5932
@daniyalmalik5932 3 жыл бұрын
love you Harry from Pakistan
@manasparey1278
@manasparey1278 2 жыл бұрын
Nice explanation, helping me a lot
@rajatchaurasia3578
@rajatchaurasia3578 3 жыл бұрын
present sir
@msbasera
@msbasera 2 жыл бұрын
Thank you bhai ❤️
@junaidtariq4547
@junaidtariq4547 5 жыл бұрын
Harry bhai git and github ki pehla series bhe to ha to ya kis Liya 😕
@amantiwari5174
@amantiwari5174 5 жыл бұрын
Awesome 😎🤘👍
@stith_pragya
@stith_pragya 2 жыл бұрын
thank you very much bro👍👍👍
@ROMAN-zu3wu
@ROMAN-zu3wu 3 жыл бұрын
Excellent . What i want
@vhiroley
@vhiroley 5 жыл бұрын
.error ignore naam dena jaruri hai kya . Ya or koi naam se kaam chal sakta hai. Please explain sir.
@AkashGupta-rw4vm
@AkashGupta-rw4vm 2 жыл бұрын
I tried adding a file to gitignore but the file is still being tracked. Then I untracked the file first by running "git reset file_name" command then adding the file to gitignore but that also doesn't seem to work, what should I do? How can I add it to the gitignore?
@akhila5597
@akhila5597 2 жыл бұрын
Thank you
@kadersuper
@kadersuper 4 жыл бұрын
kya main ek hi project pe do system se kaam kar sakta hun bina koi branch banaye. i want to sync my work with office pc and home pc ??????
@234_rebantachakraborty3
@234_rebantachakraborty3 3 жыл бұрын
ek doubt tha ki hum agar .gitignore file .gitignore extension dal de, tab kya .gitignore k modifications v nhi dikhayega kya?
@geekharat4566
@geekharat4566 5 жыл бұрын
Hllo sir, thanks. I have a quest that what if we commiting a file since last 5 commits and now want to ignore it in future commits... I tried but unable to do. Any help?
@Muwahid999
@Muwahid999 9 ай бұрын
Thanks.
@arklinkintl711
@arklinkintl711 Жыл бұрын
Kiya baad hey friend ! ketna sidha baadsey up kamal kar diya ! ap may gitignore file samaj geya , magar , keyse hum commit ka baad , local repo ke ignor ker-e jab push to remote repo ! keyse ? batha duo na .. !
@divyadeep7679
@divyadeep7679 2 жыл бұрын
thank you paa g
@iamdanyaal
@iamdanyaal 3 жыл бұрын
Thank You Sir
@JITENDRAPAL21
@JITENDRAPAL21 3 жыл бұрын
this only works for untracked files... not for staged files
@vrushalrt
@vrushalrt 3 жыл бұрын
What if there is dir assets/pdf/sample.pdf , I want to git create assets/pdf/ dir but ignore all files from /pdf/ folder how to do that ?
@prajval37
@prajval37 3 жыл бұрын
Great Video!
@iabdullahsadiq
@iabdullahsadiq Жыл бұрын
👍🏻
@MaazShaikh-ji2fq
@MaazShaikh-ji2fq 2 жыл бұрын
My crush is absolutely professional in this topic.
@milindsharma2002
@milindsharma2002 3 жыл бұрын
0:14 Harry highlighting 420 views 😂😂😂
@Aalok464
@Aalok464 3 жыл бұрын
And my phone charge is 69%
@9778908921
@9778908921 4 жыл бұрын
Gitignore mein __pycache__ folder dala hua hain but after passing build and test run in azure pipeline it fails to zip handler module because of __pycache__ I have to forcefully delete this folder from path instead of having gitignore Can you help me?
@amulyaarun6617
@amulyaarun6617 8 ай бұрын
Bro 1 stupid question here. What if we added gitignore in .gitignore file? Will it be untracked as well?
@sameepkaushik4583
@sameepkaushik4583 3 жыл бұрын
Hi Harry i have a file h3.txt which i staged and also i staged .gitignore then i n stage i tried echo "h3.txt" >> .gitignore and then apply git status but in status it displaying h3,txt visible why?
@OasisFinder
@OasisFinder 3 жыл бұрын
Same here.. i created a .log file and .txt file , and i put ".log" and ".txt" in gitignore and now git is ignoring ".log" but not ".txt".
@syedzubair9624
@syedzubair9624 3 жыл бұрын
that .log file is only in txt format
@jyotijoshi8942
@jyotijoshi8942 5 жыл бұрын
Bro ek list me kisi element ki frequency agar ek se zyada hai toh iski index kaise find karte hai (python) . Please reply
@rameshbarnwal3020
@rameshbarnwal3020 5 жыл бұрын
Thank
@shivangsaraswat
@shivangsaraswat 5 жыл бұрын
Sir please help me this this Error I can now how to fix it win32api
@sivasankarrajan2080
@sivasankarrajan2080 5 ай бұрын
Sir, How to ignore remote repository files from "git pull origin"? I want to ignore files that are already added in repo.
@EnglsihCommByNawaz
@EnglsihCommByNawaz 2 жыл бұрын
Osmm
@nitinbharati2823
@nitinbharati2823 2 жыл бұрын
hello Harry Brother .... when I am created dir inside git repository in my case git bash no track dir pls help me
@khushalchandak8544
@khushalchandak8544 5 жыл бұрын
Sir🖤🖤
@nikhilgavhane8671
@nikhilgavhane8671 4 жыл бұрын
folder is not showing for "git status " kindly help sir
@BIT_HIMANIGulati
@BIT_HIMANIGulati 4 жыл бұрын
empty folder by default nhi dikhta
@lazyyoutuber3198
@lazyyoutuber3198 3 жыл бұрын
@@BIT_HIMANIGulati thanks bro
@nirjhariniparhi
@nirjhariniparhi 3 жыл бұрын
♥️♥️♥️
@utkarshshukla6531
@utkarshshukla6531 4 жыл бұрын
3.25 me screen white ho gye Kya bataya bhai samjh ni aaya
@utkarshshukla6531
@utkarshshukla6531 4 жыл бұрын
.gitignore ke ander error.log kaise dala bhai? 3.25 min pr ...btao bhai
@ST__3955
@ST__3955 2 жыл бұрын
Hello Harry.. I have cloned 1 repo from my github. Then I made some changes in one file, and added name of that file in .gitignore file. Then I checked status. Ideally git shall not show name of that modified file but in actual its showing
@simplyjs
@simplyjs 2 жыл бұрын
is that working fine
@DiveshDR
@DiveshDR 5 жыл бұрын
Sir jo jarvis vala Video banaya hai na usame mera audio =r.listen (source) NameError: name 'r' is not defined
@divyeshparmar9501
@divyeshparmar9501 Жыл бұрын
😎
@SohomChakraborty
@SohomChakraborty 5 жыл бұрын
First btw big fan
@shefalishrivastava1385
@shefalishrivastava1385 2 жыл бұрын
Hi, I got confused between tutorials 7 & 10. LIKE in tutorial 7 we just add error.log in gitignore & if we are doing any changes it's not showing to us but in lecture 10 y we need to run git rm --cached after adding a file to gitignore?
@ShivamKumar-ie1je
@ShivamKumar-ie1je 2 жыл бұрын
bcz in tutorial 7 the file error.log is untracked(from starting).Whenever in tutorial 10 the file(from started it is tracked after it had ignored).
@anshunegi65
@anshunegi65 3 жыл бұрын
harry bhai files commit krney k baad ignore nhi ho rhi .gitignore se
@shivangsaraswat
@shivangsaraswat 5 жыл бұрын
Sir how can I fix Error win32api
@rishabhranjansinha2858
@rishabhranjansinha2858 2 жыл бұрын
DEVOPS ???? PLEASE
@Alpha27GTR
@Alpha27GTR 3 жыл бұрын
does gitignore follows regex?
@onlineearnerspro2571
@onlineearnerspro2571 5 жыл бұрын
To kya karu
@DiveshDR
@DiveshDR 5 жыл бұрын
Solve my problem
@sagarjain4128
@sagarjain4128 2 жыл бұрын
kya jamana aagaya, ab files ko bhi ignore kiya jata hai 😂😂😂😂😂😂
@ayushikarodiya7286
@ayushikarodiya7286 2 жыл бұрын
good tutorial but please speak little slow
@pratikn9936
@pratikn9936 2 жыл бұрын
i have a directory named config which i am not able to ignore .....any help?
@ShivamKumar-ie1je
@ShivamKumar-ie1je 2 жыл бұрын
save in .gitignore with the correct path. I hope it will work.
@krishmallick1296
@krishmallick1296 5 жыл бұрын
Muje ak app development Karke Denge?
@pushpendra_kushvaha
@pushpendra_kushvaha 4 жыл бұрын
I M ready to develop
@KhushbooDailyVlogs0506
@KhushbooDailyVlogs0506 Жыл бұрын
I don't know why but my .gitignore is creating a vs code file and its not working, pls help.
@HarpreetSingh-vn8ol
@HarpreetSingh-vn8ol Жыл бұрын
Same here, did you find the solution?
@sug_madic7683
@sug_madic7683 2 жыл бұрын
how to only add.html files
@imnemo2327
@imnemo2327 3 жыл бұрын
Dimag ki dahi hogayi but nice vid
@therohitsalunke
@therohitsalunke 10 ай бұрын
Can anyone share me link of notepad he is using in this video?
@onlystudy7943
@onlystudy7943 9 ай бұрын
Not pad windows me buit in aata hai.
@PrriyanshuSharmaa
@PrriyanshuSharmaa 4 жыл бұрын
Too much ads
@anuragmadhesia2794
@anuragmadhesia2794 3 жыл бұрын
HarryHarryHarryHarry
@RohanDasRD
@RohanDasRD 5 жыл бұрын
First!
@GANESHSAHUBEE
@GANESHSAHUBEE 3 жыл бұрын
:)
Git & GitHub Tutorial for Beginners #8 - Branches
10:07
Net Ninja
Рет қаралды 330 М.
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 58 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 59 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 13 МЛН
Learning Git - How to use the gitignore file
7:14
DevOps Journey
Рет қаралды 23 М.
What is an API?
12:36
CodeWithHarry
Рет қаралды 1,7 МЛН
Installing Git + Initial Setup? | Git Tutorials #2
17:33
CodeWithHarry
Рет қаралды 362 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,1 МЛН
Moving and Renaming Files In Git | Git Tutorials #10
11:42
CodeWithHarry
Рет қаралды 76 М.
Git && Github Complete in 33 MINUTES || Placement Series
33:46
Love Babbar
Рет қаралды 331 М.
gitignore in Visual Studio Code
3:41
Magnitopic
Рет қаралды 47 М.
Git Tutorial for Beginners: Command-Line Fundamentals
30:33
Corey Schafer
Рет қаралды 2,2 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 58 МЛН