Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gir reset #4

Open
xgqfrms opened this issue Feb 11, 2020 · 0 comments
Open

gir reset #4

xgqfrms opened this issue Feb 11, 2020 · 0 comments

Comments

@xgqfrms
Copy link
Owner

xgqfrms commented Feb 11, 2020

git reset

git reset && git push with force overwrite

# master commit uid
$ git reset --hard b9e3f7f2f66674901b467183dd81d493e50677f5
# git push branch_name --force

# local master
$ git push origin master --force

# remote master
$ git push origin/master -f

refs

https://stackoverflow.com/questions/18137175/in-git-what-is-the-difference-between-origin-master-vs-origin-master

https://git-scm.com/docs/git-reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant