Access and delete files from branch on windows GitHUB desktop
I have cloned a repo to my local machine and use GitHUB desktop to acess the files, say for example this is called myrep1. Within myrep1 is a branch called myrepoBranch and I want to delete files in this branch.
I can select the branch but locally can't see the files held there and therefore can't delete anything.
How do I delete folders/files of a branch within windows GitHUB desktop?
See also questions close to this topic
SourceTree failed to push some refs
I cloned a repository from BitBucket. After I made some simple changes in the code I did a commit. However, I am not able to push. The following error appears:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/dev:refs/heads/dev Pushing to https://bitbucket.org/example/example.git POST git-receive-pack (188 bytes) remote: permission denied to update branch dev To https://bitbucket.org/example/example.git ! [remote rejected] dev -> dev (pre-receive hook declined) error: failed to push some refs to 'https://bitbucket.org/example/example.git' Completed with errors, see above
I searched Google and StackOverflow but the solutions weren't working. Does someone has a suggestion?
Git Or GitPython Check Is File Deleted
I am new at using git and also gitPython. I have a project. A part of my project I should check if any file is deleted with its created commit(first commit) sha key?
git log -1 -- file2.txt #not file, desired first sha key
commit f9e12411bc0eb2131f417fa0ffa4e31adab987ac (HEAD -> master) Author: yilmazedis <firstname.lastname@example.org> Date: Wed Jul 18 12:16:15 2018 +0300 deleted repo
In the above commit sha is last operation commit. I want to check with its first commit. Sorry this question may be trivial. Please help me for this approach.
Git Merge: error: unable to unlink old <file>: No such file or directory
I'm pulling a branch into
masterin order to merge it.
Command I'm running is (while having
git pull origin feature/some_branch
Unfortunately it seems my colleagues have performed some (what I would think benign) file deletions on there, and now git spews out a
error: unable to unlink old 'somefile': No such file or directory.
I've tried to look online but most of the references for this error concern permissions, which is not the case here.
The file in question is not present on master before the merge, while is it in the new branch.
The problem is that
masterwasn't updated in a long time so there are way too many changes and files affected for me to start figuring the code out.
I just need
masterto contain all the changes that came from the new branch. We never commit anything to
masterdirectly, always through merges.
What I've tried so far:
--forceparameter, same issue
git reset origin/master --hardand running the
pullagain, same issue
How can I update
masterwith another, more recent branch without caring for such issues, and while keeping its history?
Adding user that is outside my organisation permission to push to a single branch on GitHub?
Is there any way I can add a user, that is outside my organisation, permission to push to a single branch on GitHub? Ideally all done through GitHub's API.
Or is this possible on GitLab?
Any help would be great!
git - rebase branch, built on top of another, on master
I am working on a feature in a repo. I have created a feature branch (say
branch_1) and another branch (say
branch_2) on top of
branch_1. I used to rebase
branch_1was updated, but now the
branch_1is being merged into
masterso I want to rebase
master, so that
branch_2have only its own changes. How do I do this? Also is the right way or is there any other method?
connect epic games account with github
I want to get the unreal engine source from github. I followed the steps on unreal engine 4 on github, I created an epic games account. After that I need to associate that account with my github account. After step 5 "After opening the Connected Accounts menu, select the Connect button below the GitHub icon", I got this:
The problem is, clicking the "Authorize EpicGames" in the light green part did nothing. I don't know where the problem is and I cannot proceed. Anyone have encountered this?
One reasonable explanation is network problem. I mean if there are some problems with some servers, but I'm not sure.
How do I update my master branch?
I have two branches, my master branch and my dev branch. I test out changes to my code through my dev branch (leaving my master branch with an older version) because I don't want new code that could mess things up in my master branch. I have finished testing in my dev branch and have concluded that it is stable enough for the master branch, so my question is how do I update my master branch with my dev branch (which has the new -but stable- code).
- only readme.md is showing on github pages
Valid GitHub acct but GitHub Extension for Visual studio 2017 show validation failed
I have created a GitHub acct. I can use browser to login to this acct. However, when I used the same credential on Visual studio 2017 with Git Extension in stalled to sign in , I got the below message:
How to resolve this issue. Is there anyone experienced the same issue as my?