CodeX
Published in

CodeX

Miloš Živković
Miloš Živković

Jul 19, 2021

·
4 min read
·

5 Git Commands You Might Not Know

5 problems — 5 Git commands

Photo by Roman Synkevych on Unsplash — Edits by author
· How to avoid force push?
· How to find a commit with specific content?
· How do you combine commits?
· How do you change a specific commit?
· How you can undo a git rebase?

How to avoid force push?

You rebase your branch onto main. You don’t want to force push. Why? You can break the remote…

--

--

More from CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Read more from CodeX

Recommended from Medium

Shreedhar Vellayaraj

Shreedhar Vellayaraj

Anaconda,Jupyter,Spyder — Things You Need To Know

Ignacio de Gregorio

Ignacio de Gregorio

in

data-driven fiction

The drawing revolution; this Microsoft AI tool is a game changer

Testbytes

Testbytes

Smoke Testing — Explanation With Example | Testbytes

Ionic Firebase App

Ionic Firebase App

in

Ionic Firebase App

Online Grocery System your All kind of Grocer Shops

Best Grocery Deivery App
pratibha tiwari

pratibha tiwari

in

GDSCVITBhopal

If you are a complete beginner at programming, it can be really confusing to pick up your first…

Benjamin Calvin

Benjamin Calvin

Click to Move System in Unity

cloud kyuby

cloud kyuby

Collect Metrics from Exporters using the Managed Service for Prometheus

Collect Metrics from Exporters using the Managed Service for Prometheus
Shinichi Okada

Shinichi Okada

in

Towards Data Science

7 Awesome Rust-powered command-line utilities

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Miloš Živković

Miloš Živković

1.3K Followers

Java and dev lifestyle stories. Subscribe for limitless reading: https://zivce.medium.com/membership Check out some of my e-books: https://zivce.gumroad.com/

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech