219 questions
0
votes
0
answers
98
views
Unable to push from RStudio to GitHub - URL error 403
Hi I am new to RStudio and GitHub. I am trying to push a file from RStudio into my GitHub Repository called Testing2. It's a practical exercise that's part of the course I am doing. However, I am not ...
0
votes
2
answers
352
views
GitHub Action with MacOS-latest : Process completed with exit code 1 : with grep and curl command
Introduction
Currently, I'm writing a customized GitHub workflow inside it I use a curl and grep command.
GitHub repo
action.yml
- name: get new tag
id: get_new_tag
shell: bash
...
1
vote
1
answer
142
views
Receiving the following error when pushing commitments to Github in R: error: cannot run rpostback-askpass: No such file or directory fatal:
I want to push some changes to my GitHub repository and I receive the following error, which I have been trying to solve for the last couple of hours.
error: cannot run rpostback-askpass: No such file ...
1
vote
0
answers
382
views
On mac visual studio 2022 how to publish to GitHub, add GitHub username and password
Hi,
I was trying to upload into GitHub, I created a GitHub repository. On VS 2022 for mac I only have the Git tab and when I publish I get the no remote target set, second image. I don't know how to ...
0
votes
0
answers
289
views
I'm not able to add GitHub to my computer’s list of acceptable SSH hosts
I have a Macbook, macOS Monterey Version 12.0.1
I generated the key id_rsa and enter the passcode and even added the key to my GitHub account but when I try to add GitHub to my computer's list of ...
0
votes
0
answers
1k
views
git: 'credential-chache' is not a git command. See 'git --help'
I was just wanted to get rid of this error message. After many attempts of saving my credential using
`git config --global credential.helper cache`
and other
credential.helper
method, I decided to ...
0
votes
1
answer
752
views
Not Able to Push to Github Due to Large Files
I am using Terminal on a Mac and trying to push a repo to Github, but when I push it says I have a file that is too large, giving the following error:
warning: push.default is unset; its implicit ...
1
vote
1
answer
665
views
Git submodule fetches an incorrect commit hash
I'm running the following commands
export GIT_TRACE=1
$ git clone [email protected]:org/project.git
$ cd project
$ git fetch --force --no-tags --no-recurse-submodules origin refs/heads/project-3.4
$ ...
0
votes
1
answer
126
views
How to fix the wrong identification on commits from GitHub desktop?
Even though I have connected my account to GitHub desktop, commits I make from there are somewhat not linked to my account.
I also should indicate that email I am using GitHub Desktop with has the ...
3
votes
1
answer
3k
views
Github Desktop - Branch Not Deleting
I deleted a branch on Github after merging my changes, however the branch still appears in Github Desktop.
The below are the steps I took:
Made some changes to my local .sql file.
Commit the changes ...
0
votes
1
answer
281
views
Ignoring file in Github and Django
Me and my friend are both working on a project in Django. We are beginners with both GitHub as well as Django. We have managed to use .gitignore to ingore certain files. This is how the .gitignore ...
1
vote
4
answers
7k
views
How to resolve Git permission denied /.git/index.lock
I'm logged in as an admin user but cannot checkin files into a git repository. I keep getting:
fatal: Unable to create '.../.git/index.lock': Permission denied
I did try ls -la .git/index.lock but ...
0
votes
0
answers
33
views
Push a new folder from local machine to Github
I have been confused about github and local machine for a long time..When I tried to push the existing folder in my local machine to github, I always created an empty repo in github and push the ...
0
votes
1
answer
343
views
Upload project folder to specific location (subfolder) in private git repo
I'm trying to upload a project folder to a specific location on a private repo using the terminal, but the process I'm following doesn't seem to work. Particularly, the folder where I want to upload ...
0
votes
1
answer
201
views
Packing up a directory under version control of git
If I want to zip a directory up from my git repository will it contain git messages?
How would I export a directory without any version control?
If possible if it's a feature from Github.
I have ...
0
votes
1
answer
107
views
Updating a GitHub iOS SDK without overwriting custom changes
About a year ago I built an iOS app for my Company using the Shopify mobile buy sdk located at:
https://github.com/Shopify/mobile-buy-sdk-ios
While customizing this app to suit my company's needs, I ...
4
votes
0
answers
2k
views
Github Desktop (macos) - Update from master vs Merge into Current Branch
I have looked around quite a bit but could not find an answer specific to Github Desktop.
I have two main branches Master and Develop.
When I develop a new feature I do the following:
Create a ...
0
votes
0
answers
653
views
How to replace a photo uploaded to GitHub with another photo with the same filename?
I uploaded a photo, 156.jpg to GitHub and then verified it appeared on my website. Then I changed my mind, and uploaded a different photo, but I used the same name, 156.jpg. I checked my website ...
0
votes
1
answer
318
views
Cannot git push to Github
I created a new Github repo on Github website and git cloned it on my local machine.
After making some changes in my local, I committed the changes and tried to push it the remote repo, but it fails ...
0
votes
2
answers
166
views
How to track file nested in untracked folder?
Our current git setup works on a whitelist basis, so everything is ignored by default, and we then include directories as needed. This worked fine for a new repository, but is starting to cause issues ...
0
votes
0
answers
780
views
How can I share or link to a GitHub enterprise (university) account repository?
My university has a custom GitHub enterprise domain, and I have been working on a number of personal/group projects there. However, going for graduate job interviews, it would be handy to share access ...
1
vote
1
answer
406
views
I can't make commits with my original account
I installed git my MacBook Pro and built a basic iOS project and then made commits to the repository.
But, now when I'm trying to trace the commits that I made, it displays my full name instead of my ...
1
vote
2
answers
331
views
git push linked to the wrong/with two accounts
I am using a Laptop that they handed down to me at my internship, when I go to push, it was pushing with a different account. Even though I signed in and got authenticated when I pushed. (I also ...
7
votes
4
answers
6k
views
Clone repo from github to xcode issues
I have tried following a few tutorials on cloning a github repo and opening it up on xcode. I first connected my github account to xcode and then I selected a project to clone. I then placed it into ...
0
votes
0
answers
54
views
Commiting changes error on github desktop
I am new to git/github so I don't exactly know what I'm doing. I am trying to publish a site on github. I followed directions on https://pages.github.com/ to create the new repository. I didn't know ...
0
votes
0
answers
16
views
Is there any script i can run on the terminal that downloads all the releases on my desktop
Is there any script i can run on the terminal that downloads all the releases on my desktop. I am trying to download all the releases and download on my computer.
Here is the information on how to ...
1
vote
1
answer
77
views
Unable to push origin on public repo 2fa
I am trying to update the following repository https://github.com/ilyas-it83/CloudComparer
I cloned it, done some updates to the file and now I try to push it for a new pull request.
I am using 2FA ...
0
votes
1
answer
75
views
Gatsby project Github problem "Everting up-to-date."
MacBook-Pro:gatsby_spec NP$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
MacBook-Pro:gatsby_spec NP$ git push origin master
...
0
votes
0
answers
225
views
Github Private Repo: Could not read from remote repository
So I am experiencing a really weird situation. Yesterday I created a private repo on a separate Github account. I added my SSH key to the account that account and then I made my first commit to that ...
0
votes
1
answer
448
views
Git merge using Github Desktop - Changes not getting merged
I have a branch development1 branched from master and development2 branched from development1. I wanted all changes I made in development2 in development1 and when I tried merging development2 to ...
2
votes
3
answers
4k
views
Github Repository - LockFile Exists
I recently tried to commit to my repository via GitHub Desktop and was told there is a lock file preventing me from doing so. I do not recall uploading this lock file nor do I have an idea where it ...
-3
votes
1
answer
703
views
how to change git folder from previous to new? [closed]
Having problem in using the same repository previously used
I was trying some new stuff with my rails project and ended up losing its major functionalities, but I git my project on GitHub. So i ...
0
votes
1
answer
39
views
Error while pushing code to github public drive
I am new to github and trying to create my first repository. After executing the below command:
$ git push -u origin master
I am getting following error:
error: src refspec master does not match ...
31
votes
6
answers
36k
views
Set git credentials based on folder
Is it possible to have a folder that contains multiple repos use one set of credentials and have another folder user a different account? For example I would like to have one folder on my mac for work ...
0
votes
1
answer
195
views
Sync button on Github Desktop (mac) not working
I am using GitHub Desktop app on my mac. I am using the enterprise edition of github. I am signed in the app and the browser. I am able to pull in changes using the github app. I also see changes show ...
2
votes
2
answers
2k
views
How to check if all my branches are equal to master branch?
I would like to know if there is a command which can check if all my branches are equal to the master branch.
I have a Github repo and I have many branches and sometimes I forgot if I did a "git ...
0
votes
1
answer
47
views
How do I overwrite files locally? From master to my current working directory.
So I changed my directory to the correct location and I want to pull the changes and from the master to my working directory and overwrite what I have on my computer locally. How would I go about that?...
-1
votes
1
answer
339
views
Github commits from different PC's
Quick question, if i have different PC's which share the same/different projects which I would like to make commits to.
How can I make sure that all the commits will be made from my GitHub account ...
0
votes
2
answers
1k
views
Remove a folder from github which does not show locally
I uploaded a Jupyter notebook on github, since then I worked on it locally and then committed the changes. Now I have a .ipynb_checkpoints folder which does not appear on the local repo, and I would ...
5
votes
0
answers
1k
views
Explanation for blue stuff in Github Desktop merge conflict?
I'm confused with how to use GitHub Desktop when there is a merge conflict. I assumed the blue stuff on the side tells you what lines you want to keep in the merge. The picture shows the type of blue ...
3
votes
2
answers
295
views
Purge hidden storage on Github Desktop OSX?
I have several folders of jpg files on my OSX laptop, cloned from a GitHub repository. The files I can see total less than 20GB, but my system tells me that they occupy 65+GB.
Where are these hidden ...
0
votes
1
answer
869
views
I merged and then committed only some of the files. How do I re-merge the others?
I'm working in a feature branch. After running git merge from the main branch, I had two conflicts.
I manually resolved them, and then committed only those two files, and ran git reset --hard to ...
16
votes
4
answers
13k
views
How do i get the list of Reviewers for a pull request using Github api?
I need the list of reviewers for a PR, and the Review Requests API present in Github only provides me the requested reviewers which becomes empty once the reviewers have accepted their invitations. I ...
0
votes
1
answer
46
views
Getting gitHub change history
I am trying, with no success, to find a way to get change history for a master branch.
I am trying to check for the top 10 files that changes have been made in, inside a defined timeline.
Any ideas?
0
votes
1
answer
100
views
Stop a Commit underway
I accidentally commit a large file (several gigabytes) from the Github Desktop for Mac client. The commit is extremely time-consuming, and I would prefer to stop it rather than wait for the commit to ...
5
votes
5
answers
9k
views
remote permission to denied to user2
I made my new account "kim2" but when I push it with "kim2"
It gives following error:
kim-computer:Kaggle-A-Z kim2$ git push kim2 master
remote: Permission to kim2/Kaggle-A-Z.git denied to kim1.
...
0
votes
0
answers
133
views
How to Move a Project to parent project folder in Github
Folder structure
JavaRepo/Struts1
Want to change this like
JavaRepo/StrutsProjects/Struts1
Please suggest how to move project into subfolder in GitHub
0
votes
1
answer
1k
views
How to override master
I'm having some conflicts with the master as some people in my group have made changes that don't work and i changed. The problem is that github is not letting me override the master as there are too ...
0
votes
1
answer
56
views
Commit to master lost my commit
So silly me, I had lost control of my repository a little bit,
I had a commit of 14,000 changes pending
I was using the mac github desktop application. I simply gave the commit a title, description ...
1
vote
1
answer
1k
views
Pushing my code from Github Desktop places some merge conflict delimiters in my program
Learning how to use Git, and I've being using Github Desktop (Mac OS) as my GUI. Pushing my local fork to my repo has been having some odd side effects to my local code. It's been placing lines such ...