Git Pull issue command
When I run git pull
command I found this issue and all of these files not in master branch.
Recovering a commit that has been lost after pull request
So I merged my branch revamp/studio-creator inside main via a PR. It merged fine, however I realised that main branch didn’t have the most up to data code, there were parts that I would want from studio-creator branch but those were not merged over to main. I didn’t give it much thought and just deleted my local instance and cloned the repo again (This might be disastrous but I thought since my changes are already pushed, there’s no risk). I cloned the repo and I saw still the commit made yesterday (12th June is missing). Github commit history of all branches is only showing latest commit as one done on 29th May. Since main branch was old anyway I renamed it to main2 and renamed by studio-creator branch as main. Then I deleted main2. However now I am left with a scenario where the latest commit is nowhere to be found. It’s not in the commit list (which is weird since the PR was merged yesterday and the commit history is reflecting work of past 2 weeks, don’t know why is that!).
Can someone please help me with this scenario? The commit we lost had work of past 2 weeks and it is absolutely important to get this work back.
Already logged a compalin to Github support but their response times are very bad so that’s why posting here, hoping someone would be able to help!
git push –set-upstream to github nor working as expected
I am having trouble pushing a new local repository to Github over SSH.
How to make changes in a file part of github pull request through VS Code?
I made a pull request but the review I got needs me to make some changes in the files. I tried to do it in VS Code but it didn’t work. What am I doing wrong? Also, there was no option to stage the changes in the modified files.
Selectively Pushing Content from One Git Branch to Another
I’m currently managing a GitHub repository with two branches: main
and obsidian-vault
. The main
branch hosts all the necessary files for my website, while obsidian-vault
is used specifically for drafting blog posts.
Git error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)?
While cloning from github I suffer from that kind of error.
Can i push to a forked repository without creating a pull request notification?
I have a remote repository that I’ve been making contributions to. The way I did this was by creating a fork of this repository on my git and periodically pushing my local developments to a branch on this forked remote. Once I finished my contributions I made a pull request to the original repository and had my changes pushed there.
Failed to connect to github.com port 443
I used git push
and git clone ...
in my terminal. For both I got the error:
How to move a git repository to the start of another git repo history
I need to do a PR to a repo that has very few fies. I developed most of my code in another unrelated repo, now I want to do a PR in github retaining my commit history, though I was able to make a fork and rebase allowing unrelated history the resulting branch cannot be merged because according to github the two branches have nothing in common. My idea was to push the few commit of the original repo into the initial history of my repo and then trick GitHub into thinking they had something in common
Rebasing local branch with remote upstream branch
I forked a project on Git Hub and cloned that forked project in my local machine. So I have three git systems: one upstream, the original project, one origin, the forked project on GitHub, and one on the local machine.