No video

How to delete a file from a Git repo

  Рет қаралды 42,792

Cameron McKenzie

Cameron McKenzie

Күн бұрын

Is there a specific file in your GitHub, GitLab or local Git repository that you want to delete? The file delete command in git is simply git rm, but there are peculiarities about the use of this Git file delete command you need to be aware of.
In this single Git file delete example, we'll show you how to delete a file from the Git cache, from the Git cache and the local filesystem, and even how to delete a single file from GitHub and then pull the corresponding changes down locally.

Пікірлер: 24
@staz8671
@staz8671 Жыл бұрын
You have taught me so many important Git commands🙏🏽. I always come to this channel for my git issues since I'm new to version control. Thank you
@cameronmcnz
@cameronmcnz Жыл бұрын
I think that's the kindest thing anyone's ever said to me online. Thanks!
@wisdomochei
@wisdomochei 2 жыл бұрын
Straightforward video. Thanks man
@user-hr4no8ux6n
@user-hr4no8ux6n 10 ай бұрын
very useful and straight to the point no extra nonsense
@cosmicjava
@cosmicjava 5 ай бұрын
Great video, thanks!
@cameronmcnz
@cameronmcnz 5 ай бұрын
Happy to help. Have fun with Git!
@mekhaellaster9217
@mekhaellaster9217 2 жыл бұрын
Thanks, video is complicated and long but helped me, so thanks
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Glad I could help. Yeah, the Git file delete operation isn't totally straight forward.
@codebro_26
@codebro_26 Жыл бұрын
damn great video .Explained like sigma male -straight ,on point🛐🛐🛐🛐
@cameronmcnz
@cameronmcnz Жыл бұрын
Trying to keep these videos straight and to the point!
@arcanelore168
@arcanelore168 6 ай бұрын
Sigma male.. ahahaha
@Muhammad_X
@Muhammad_X Жыл бұрын
Very helpful😍
@chandugupta4373
@chandugupta4373 2 жыл бұрын
Hello sir I am a beginner and I accidentally put my my whole files on my system to git repository.......so plz help to remove them from git .....humble request sir
@khoilam7569
@khoilam7569 2 жыл бұрын
thanks sirr
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Glad I could be of service!
@bnd1986
@bnd1986 Жыл бұрын
Is there any command to restore deleted file in git local repo ? 😊
@cnaasiryaasiin7342
@cnaasiryaasiin7342 Жыл бұрын
Thank you
@samucancld
@samucancld 2 жыл бұрын
Gracias crack
@cycletechsa
@cycletechsa 2 жыл бұрын
Thanks
@sharonarul7573
@sharonarul7573 Жыл бұрын
thanks!!
@merrylawrel8110
@merrylawrel8110 Жыл бұрын
you're awesome
@armansagharchi6702
@armansagharchi6702 2 жыл бұрын
nice
@oleksandrmarkov8656
@oleksandrmarkov8656 2 жыл бұрын
👍👍👍
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,1 МЛН
How to Remove & Delete a Local Git Repository
3:48
Cameron McKenzie
Рет қаралды 79 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 21 МЛН
How to Delete Folders from Git repos
2:42
Cameron McKenzie
Рет қаралды 38 М.
Git vs. GitHub: What's the difference?
10:06
IBM Technology
Рет қаралды 389 М.
Your first GitHub repo and ignoring Node Modules
12:20
Code Tour
Рет қаралды 9 М.
Git Fetch vs Git Pull? Which one should you choose?
3:09
Cameron McKenzie
Рет қаралды 42 М.
Git It? How to use Git and Github
12:19
Fireship
Рет қаралды 748 М.
How Git Works: Explained in 4 Minutes
4:18
ByteByteGo
Рет қаралды 189 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 354 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН