Tuesday, January 25, 2022

How can I rollback a git repository to a specific commit?

git reset --hard <old-commit-id>

git push -f <remote-name> <branch-name>

Note: As written in comments below, Using this is dangerous in a collaborative environment: you're rewriting history


How to resolve merge conflicts in Git

 

How to resolve merge conflicts in Git


https://www.youtube.com/watch?v=xNVM5UxlFSA

Git Tutorial 6: Branches (Create, Merge, Delete a branch)

  https://www.youtube.com/watch?v=sgzkY5vFKQQ


Good

What is Pull Request?

https://www.youtube.com/watch?v=e3bjQX9jIBk  

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...