100 questions
0
votes
0
answers
45
views
having an error in git while pushing the project on git remote it says "fatal: protocol 'https' is not supported" [duplicate]
i first ran this command which worked perfectly fine
it shows already exist cause i ran the command twice
$ git remote add origin https://github.com/chaudharidhara2781/tatvasoft_internship
error: ...
1
vote
0
answers
1k
views
Is there a way to share a private GitHub Repository with someone without adding them as a collaborator?
So, the main problem is I want to share the GitHub Repository with a recruiter. They have given me some task, which I completed and pushed it on GitHub. I can keep the repository Public and share it ...
0
votes
2
answers
419
views
Error during a push in azure DevOps repo using build pipeline
I am using azure DevOps for a build pipeline in which I am about to deploy my solution. In that i have scenario where a power shell code which is in the same repo will be triggered during the build ...
0
votes
1
answer
37
views
Cant connect to any github repository from my netbeans 20
I'm encountering an issue where I can access public projects without any problem, but when I attempt to access a private project, I receive an error message stating 'Cannot connect to the remote ...
0
votes
0
answers
245
views
Git commit asks for passphrase which I don't remember
Few days ago, I created a GPG key in my GitLab account. Now I was trying to commit a new project into my GitHub account, I get a pop-up window asking to enter a passphrase to unlock the OpenPGP secret ...
0
votes
1
answer
40
views
How do I merge a specific foler from "Their" repo into "my" repo where the directories are in different directories
I have a repository (my repository) that has a non empty directory, say its called "target". In this folder I have modified files from their repository's target folder. They have updated ...
0
votes
1
answer
172
views
Someone committed on my github repository after forking it
A user forked one of my github repositories and started committing on its fork. Nevertheless, some of his commits were pushed to my repository despite him not being among the collaborators of the repo....
-2
votes
1
answer
776
views
In Azure Devops every-time we run a pipeline does it create a new commit or what exactly happens...?
As I run a pipeline, it showed me this point
commit ID
How does this actually work? And is the the status update on existing source code commit or a new commit saved all the config of the running ...
0
votes
1
answer
858
views
How can I update the manifest with the checked out commits/branches?
My manifest.xml has all my repositories cloning master.
I do some work on few repositories and create new commits, branches and tags.
Now, I want to save in the manifest where all these repositories ...
2
votes
2
answers
1k
views
How to relocate the git-repo urls?
I'm trying to build driver for qca8081 phy and notice that it is pointing to old CAF URLs. That is causing problem when I tried to perform repo sync
per their driver build guide following is CLI, but ...
0
votes
1
answer
59
views
Getting error while clone the gitrepo using ssh-key
I have created a public key after I have pasted it on GitHub then I have tried to do git clone.
But while doing the clone, it is asking for the password:
Did i do anything wrong?
1
vote
1
answer
531
views
how to scan repos in Azuredevops and filter certain files
We are using AzureDevops server and have multiple collections and multiple projects in each of the collections. There are different Application teams working on these different projects and each have ...
-1
votes
1
answer
3k
views
repo sync command, is it possible to sync only the repositories that I have permission to? I want to ignore the permission denied error
When executing the repo sync command, is it possible to sync only the repositories that I have permission to? I want to ignore the permission denied error.
I created a google repo manifest file that ...
1
vote
1
answer
480
views
Spring Cloud Config Server with GIT Repo configured is not starting up successfully
I am building Spring Cloud Config server with Sprint Boot v2.6.12 and Spring Cloud Config Server v3.1.1. Below is the application.yml configuration,
spring:
application:
name: config-server
...
0
votes
0
answers
95
views
Can not run a Git Repo in Android Studio
I cloned a GitRepo but can't run it. The file is just too complex and I'm pretty noob. I wasn't able to find anyone who suffers the same problem. So could you help me how can I run this repo ?
Here is ...
1
vote
1
answer
288
views
Git Repository - Error Code 128 when merging two pdfs
After I committed two PDFs using "Git add - a", it led to my next problem, Error 128.
I am very new to this Get Repository thing. I am not sure how to fix it with the Go Daddy Terminal. Any ...
-1
votes
1
answer
210
views
Can be .gitignore file be used only in GitHub Repo?
I am creating a React App and my superior would want the app to be hosted anywhere but not on GitHub, so I recommended Hostinger.
My question is:
Can I add a .gitignore file in Hostinger, or any other ...
0
votes
1
answer
1k
views
Is there an easy way to export a list of Projects showing their last commit date?
I'm in the process of moving our internal GitLab server to Azure ADO repos and I've been tasked with exporting a list of projects with their last commit date so we can see what is useful and what we ...
2
votes
1
answer
3k
views
How to link commits to User Story automatically using Visual Studio?
I have a git repo in Azure DevOps Repos, I also have a test User Story set up. I want to set up user story to be linked to my commits automatically. Please help how to do it.
Thanks in advance.
0
votes
1
answer
237
views
should I copy .repo directory before or after build
I'm novice in android development and google's git-repo so please bear with me.
I found the this thread but it doesn't discuss about my question.
I'm working on to store the required android Q code (...
2
votes
4
answers
7k
views
Branch Name did not display in the left bottom corner of vs code
Screenshot of VS Code. It helps to know about an issue which I am facing:
25
votes
6
answers
22k
views
Visual Studio is not recognizing git repo
Upon opening my ASP.NET Core project with an existing git repo in Visual Studio 2022, the git repo is not being loaded. However, opening a freshly cloned repo of this project from GitHub works fine. ...
3
votes
0
answers
477
views
pip install git repo - installation successful but import fails
I have 2 git repositories lets call them Framework and Workflows.
While running the Workflows i need to install the Framework repo using pip3.
setup.py of Frameworks looks like this:
from distutils....
0
votes
1
answer
108
views
Convert Git into TFVC with history
Is there any tool to convert Git Repos into TFVC with history or convert TFS into TFVC including the history?
1
vote
1
answer
1k
views
Azure devOps repo is not synced with my git repo
My git repo has been connected to my project repo in azure devops. Later on, I created a new branch in my git repo. But I don't see this new branch in my azure repo. Shouldn't they be synced?
Update: ...
1
vote
1
answer
42
views
Merge a commit from a branch in repositoryA to a branch in repositoryB
Assuming I have two repositories called repositoryA and repositoryB. I need to merge a commit abcdefgh which is in a branch in repositoryA and called branchA to another branch called branchB and ...
0
votes
0
answers
491
views
Git push to branch main. return repository not found. But I was able to pull changes and even resolves conflict
I have a project already on GitHub organization. I cloned the project and implemented some code, but when I try to push the project back to GitHub, it returns repository not found. But funny enough is ...
1
vote
1
answer
3k
views
VSCode Go extension Error loading workspace with private repository dependency
Everything was working fine until I added a dependency of a private repository. I noticed that autocomplete stopped working and there was an error notification by vscode:
Error loading workspace: err: ...
2
votes
3
answers
9k
views
Clone from a local repository, then pushing back the changes
I have a git repository on my local system in /original/.git. Now, I have cloned this repository in /cloned_one/.git. Everything looks fine. Here, I have the same files that I have in /original which ...
0
votes
0
answers
425
views
Publishing R package on Github using an existing Git repo URL
I’m provided a link to a “private repository” URL on GitHub, where I and other collaborators will work on the same project. Now I need to create/publish an R package to that “private repo”, but the ...
6
votes
1
answer
645
views
Can I shorten the history of a git repository
At first, I made a shallow-clone. After this, I found some old commits introducing some large files. For example, these old commits replaced a binary file again and again.
Now, I didn't want my local ...
-1
votes
1
answer
255
views
How to prevent copy git folder's child files and folder into another folder?
I share my code with my developers.
My use case should be:
Prevent copy the codes, files and folders to any othet directory other then current working git repo.
Allow to edit delete files or folder.
...
0
votes
0
answers
53
views
Azure pipeline Git repo trigger resolution rules unclear
I need some clarification wrt to Azure pipeline Git repo branch triggers. Following situation:
In my develop branch I have a pipeline yml where the triggers are the develop and the main branch. The ...
5
votes
1
answer
2k
views
What happens when I rename the parent directory of a git repo?
If I have a git repo in a folder named some-folder, and I change it to another-folder, is there going to be any problems?
0
votes
1
answer
457
views
Remove Git Repo from a Git Repo
I created a new repository and cloned it on my PC, then initialized a React Native App, when I try to push my code from the root folder, it is giving me an error message saying that I have another ....
0
votes
2
answers
483
views
I mistakenly added an unknown repository to git locally in the command line. How do I remove or replace the repository [duplicate]
I want to remove the wrong repository and replace it with the correct repository on GitHub. What do I do?
Fatal: repository "https://GitHub.com/username/alx-pre_school.git" not found
3
votes
2
answers
636
views
Unify branches of two local copies of same repository
I have two copies of same git repository locally. Those two copies have each their own local branches. Can I somehow "unify" those two repositories and create one which will have local ...
1
vote
0
answers
88
views
Does clearing dangling objects in a git repository using gc --prune=now help in anyway?
I sometimes notice a large number of dangling objects in some GIT repositories.
I have a primary-->mirror setup and i run the scheduled garbage collection only on the mirror repository everyday ...
0
votes
1
answer
1k
views
Keep two repos in sync without forking
I have a repo inside a GitHub organization.
It has its code which depends on some credentials.
It will basically look for a file called as environment.properties, which will contain a key-value pair ...
2
votes
2
answers
4k
views
Git - manage multiple projects under one repository
I've a projectA repository which has master branch and other feature branches gets merged into the master branch with pull requests.
Now, we're going to start a new projectB which will have everything ...
-3
votes
2
answers
822
views
How can i overcome fatal repository not found error
enter image description here
I am trying to create a new repository from my system gitbash.
But a fatal error has came and not able to create a new repository as it says about my old repository which ...
0
votes
0
answers
814
views
Azure Databricks Integration with Azure Git Repos
We have tried to integrate the databricks notebook with a repository in Azure Repo. But, we are getting this below error
Error while syncing Git history: Response from Azure DevOps Services: status ...
1
vote
1
answer
4k
views
Why does repo sync not pull the correct commit as specified in the manifest XML file?
When performing repo sync it pulls the latest commit from a branch even though it is specified to be a specific commit in the manifest xml file. Why is this happening?
The manifest xml file is ...
1
vote
2
answers
300
views
git cannot push an existing repository. 'remote-httpshttps' is not a git command
Failed to push existing git repository to remote.
It did not happen before. I have tried install the last version of git but still fail to push.
git push --set-upstream origin master
git: 'remote-...
0
votes
0
answers
246
views
R - shiny app - ERROR: Invalid git repo specification: 'ShinySky'
I try to run a shiny app on R studio, I get the error
"ERROR: Invalid git repo specification: 'ShinySky'"
with the message at the console:
"there is no package called ‘shinysky’
Warning:...
4
votes
1
answer
982
views
repo upload without review (repo push function)
We use the git-repo tool in our project, but we don't use gerrit for code review.
So far we used regular git commands to push our changes, but due to the growing amount of repos it would be cool to ...
4
votes
1
answer
7k
views
Git Error: remote unpack failed: unable to create temporary object directory - While attempting to push to remote repository
While attempting to push to a remote repository I am receiving the following error
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 40 threads.
...
0
votes
3
answers
5k
views
How do I push changes I made in a branch into the master branch?
There is no remote repository.
There only exist one repository on my local machine.
So here is what I did:
git branch new-branch
git checkout new-branch
//implemented some changes
//now wants to ...
1
vote
1
answer
1k
views
Unequivocally checkout a branch and get latest version in git from a script
I am creating a shell build script.
I want it to be called like this:
./build.sh REPONAME BRANCHNAME
$REPONAME corresponds to a remote. I am assuming that the remote exists.
$BRANCHNAME is a branch ...
0
votes
1
answer
107
views
git log -p without contents of deleted files
I'm assigned to a task to delete unnecessary files from our git repository. This results in deleting many files and editing few others. When I issue git show or git log -p my screen is flooded with ...