Shawn's blog Shawn's blog
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)

Shawn Jin

I am not a creator of knowledge, I am just a porter of knowledge.
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)
  • Python

  • Git

    • Force Git Pull and Ignore Local Change
      • Ignore local changes
    • Git .gitignore doesn't work after update
  • Notes
  • Git
Shawn Jin
2019-01-31

Force Git Pull and Ignore Local Change

# Git pull failed

# Ignore local changes

git fetch --all

git reset --hard origin/dev

git pull
1
2
3
4
5
#Git
Updated: 2021/09/05, 15:42:35
Python modify range variable in for loop
Git .gitignore doesn't work after update

← Python modify range variable in for loop Git .gitignore doesn't work after update→

最近更新
01
Python import files from different directories
12-31
02
Classmethod in Python
09-15
03
Single/Double Star (/*) Parameters in Python
09-15
更多文章>
Theme by Vdoing | Copyright © 2019-2021 Shawn Jin | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式