1min snip

Django Chat cover image

Git and Django 5.0 - Adam Johnson

Django Chat

NOTE

Explaining the different uses of git reset in Git

get reset is a command in Git that has two main functions: it can unstage a file and it can move the current branch to point to a specified commit or branch. The options --soft and --hard determine what happens to the files when resetting. --soft keeps the changes, allowing you to recommit them later, while --hard discards the changes. The option --keep is a better alternative to --hard as it moves the branch without discarding uncommitted changes. Overall, get reset is a powerful tool for managing commits in Git.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode