Skip to main content

All Questions

Tagged with
1 vote
0 answers
65 views

Copy or Sync all the branches from one Org Repo to another org with same repo

I have written the powershell script which will sync or copy the repo from one org to another org, but currently this script is sync only master branch, but not all the branches. Below is the Code <...
chandu's user avatar
  • 53
0 votes
0 answers
101 views

Authentication of commits and pushes in a bare git repo without an actual git server running

I am trying to understand what a git repo itself without a server hosting it is able to do. My goal is a bare git repo somewhere on our network drive that people can pull and push to. I was able to ...
patvax's user avatar
  • 101
0 votes
1 answer
1k views

How to remove all files from GIT repo history with path having colon : in filename?

I have ISCSI node filenames with colons stored in GIT repository on Debian 10 Linux. Example: 'iscsi/nodes/iqn.2000-01.com.synology:NAS01-DS916.nas/ff11::111:11ff:ff1f:1ff1,3260,1/default' 'iscsi/...
klor's user avatar
  • 159
1 vote
1 answer
7k views

Is it possible to clone a repo from GitHub without an account?

I'm hosting my company's interview project on Github. We will have candidates clone the repo and work with it on their local machine during the interview itself. They never have to push code to the ...
intA's user avatar
  • 403
1 vote
1 answer
3k views

Why does repository cloned from Github contain .github folder inside and not .git folder?

My intention is to clone a repository from github, make some changes to it and then store it on my company's bitbucket server along with its submodule repositories. I am not sure what is the proper ...
quantum231's user avatar
0 votes
3 answers
4k views

What does "cloning a repository" mean, and why is it claimed to be a necessary step to install this PHP library?

Usage After cloning this repository (git clone https://github.com/naneau/php-obfuscator) and installing the dependencies through Composer (composer install), run the following command to ...
Evian's user avatar
  • 9
0 votes
0 answers
211 views

How to move legacy git repository to Gitlab that require GPG sign?

Currently the company I am working for has a legacy git repository that host elsewhere and all commits are not GPG signed. The project is getting bigger and more people are working for the same ...
cytsunny's user avatar
  • 300
2 votes
1 answer
2k views

Git submodules with the same name

Is it possible to have multiple Git Submodules to have the same name but with different path? I want to have the same name because they do slightly different, but essentially the same thing. I am ...
Porcupine's user avatar
  • 473
0 votes
2 answers
26k views

How do I make a GitHub repository into an exe?

I know this is going to sound so dumb because I am new into software developing. I have found this GitHub repository which I plan to modify. Let's just say I fork this repository and modify it. How ...
fhzt's user avatar
  • 3
1 vote
0 answers
194 views

How to prevent loosing git folder after shutdown?

I'm using TeaLinux OS, a derivative from Ubuntu. I just cloned a Git repository, I work on it and shut my PC down. When I turn my PC on again, I lost the folder. It happened twice, and now I want ...
i have no name's user avatar
2 votes
1 answer
334 views

git-p4 and huge file sizes

I am trying to convert a Perforce(p4) repository to git (preferably to Helix4Git, a git server implementation by perforce). I reduce my problem to a simple use-case in order to find the solution for ...
Daniel Stephens's user avatar
7 votes
1 answer
17k views

Fix dangling commits and tags in a git repository

I have a bare git repository that, according to git fsck --full, has about 300 dangling commits and tags. About 90% of it are dangling tags. I'm not sure where these issues come from, but since the ...
Timo Kunze's user avatar
1 vote
1 answer
3k views

Git error [remote rejected] master -> master (shallow update not allowed)

I have created an empty repository on Bitbucket server (run in a Docker container and exposed by NGINX - also run via Docker container) for a Project in a network isolated machine. While setting it up ...
miabot_'s user avatar
  • 11
2 votes
1 answer
1k views

Merging two divergent repositories on different remotes

Me and my colleague set up a new repository on both GitHub and GitLab. All was nice, but due to a misunderstanding, he was pushing to GitHub and I was pushing to GitLab. We set up rep mirroring on ...
huB1erTi2's user avatar
0 votes
1 answer
214 views

How to perform application-consistent backup of Git repo

Imagine I have a bare Git repository on my own hosted server that is used by multiple folks for cloning, pushing, and pulling. What commands would be necessary to get such a repository into a state ...
jia103's user avatar
  • 564

15 30 50 per page