# Github help

**URL:** <https://crucible.hubbe.net/t/github-help/1280>\
**Category:** The Crucible\
**Created:** [January 21, 2022, 10:48pm UTC](https://crucible.hubbe.net/t/github-help/1280 "2022-01-21T22:48:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [January 21, 2022, 10:48pm UTC](https://crucible.hubbe.net/t/github-help/1280/1 "2022-01-21T22:48:50Z")

</div>

So I’m having a tough time keeping my fork’s master branch clean.  
The goal (I’ve learned) is to keep the master current by fetching upstream before making a branch. Then that branch gets edits from which a Pull Request can be submitted.  
ok.  
However, I now have a commit " Merge branch ‘profezzorn:master’ into master"  
and it thinks my master is 1 commit ahead of profezzorn/ProffieOS master.  
On top of that, I did a test push (with my inadvertent temporary permissions)  
and while that was instantly added to “the master” (not MY master)  
it still shows as an open commit on MY master.  
I don’t want to branch from here, as these commits are going to tag along in future PRs.  
In place of getting very involved and trying to cherry-pick, or revert things, I find it easy to simply delete my fork repo, re-fork, and go forward.  
However again, I think that caused the issue where my PR couldn’t be commented on in review (because the source repo didn’t exist)

TL;DR… Why did I wind up with these commits that are “ahead of” the profezzorn master, or more importantly, how would you suggest I proceed.  
I want to just delete and re-fork. But I have pending PRs.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 21, 2022, 10:59pm UTC](https://crucible.hubbe.net/t/github-help/1280/2 "2022-01-21T22:59:52Z")

</div>

There should be no need to re-fork.  
You can always fix your master by doing a “git reset”.

I think this might be what you want:

[How do I reset the git master branch to the upstream branch in a forked repository? - Stack Overflow](https://stackoverflow.com/questions/42332769/how-do-i-reset-the-git-master-branch-to-the-upstream-branch-in-a-forked-reposito#:~:text=(You%20can%20define%20the%20original,to%2Foriginal%2Frepo%20.)&text=This%20would%20reset%20your%20master,pull%20those%20changes%20as%20well).

I get these merge commits when I’ve comited something to my local branch. (on my computer) and then do a “git pull”. If you never commit something to the master branch (locally, or on github) then it shouldn’t happen.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [January 21, 2022, 11:51pm UTC](https://crucible.hubbe.net/t/github-help/1280/3 "2022-01-21T23:51:15Z")

</div>

Thank you. Probably what i want to to, however this comment is making me wary:  
“be careful that the forced push automatically closes all open pull-requests you made for the upstream. I wasn’t aware of this, which was a bit of a surprise.”

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 21, 2022, 11:59pm UTC](https://crucible.hubbe.net/t/github-help/1280/4 "2022-01-21T23:59:19Z")

</div>

Hmm, I _think_ that only applies to one branch (master), but I’m not sure…

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [January 22, 2022, 12:03am UTC](https://crucible.hubbe.net/t/github-help/1280/5 "2022-01-22T00:03:17Z")

</div>

ok well I’ll tryit. worst case scenario, I look under closed PRs, take notes and re-do.  
I’d need to do that if re-forking crippled review comments anyway ¯\_(ツ)\_/¯

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [January 22, 2022, 12:07am UTC](https://crucible.hubbe.net/t/github-help/1280/6 "2022-01-22T00:07:16Z")

</div>

Grrrrrrr.

`remote: Support for password authentication was removed on August 13, 2021. `  
Can’t enter username / password  
Now i have to go figure all that out. Ain’t nobody got time for that.

Ok it’s just misleading because the prompt doesn’t say “token” it says “password”.  
I have the PAT.  
done, let’s see what happened.

Seems all is well.  
Thanks again.
