Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 625 Bytes

10.md

File metadata and controls

37 lines (30 loc) · 625 Bytes
title
如何解决 push 更改到 GitHub 却被拒绝的问题

到 B 站观看视频

Resources:

[user]
    name = Peter Wang
    email = happypeter1983@gmail.com
[core]
    editor = vim
[alias]
    ci = commit -a -v
    co = checkout
    st = status
    br = branch
    throw = reset --hard HEAD
    throwh = reset --hard HEAD^
[color]
    ui = true
[push]
    default = current

vim .git/config
vim .git/refs/remote/origin/master
git fetch origin
git rebase origin/master