Questions tagged [git]

Git is an open source distributed version control system originally designed and written by Linus Torvalds. It is generally used to keep track of source code for software projects. As a DVCS, Git provides powerful help with branching, merging, and distributed development.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Jenkins pipeline calls git.exe on non-windows node

I have a master set up on Windows machine. I have a few nodes on Jenkins, one of which has 2 labels: "system project". This node is actually a plain Solaris 11.3 machine. Other nodes are plain ...
0
votes
0answers
51 views

macOS - Getting SSL certificate error on valid certificate when accessing via git

2 days ago we started to get an error in git when pulling updates from our repository via HTTPs: "SSL certificate problem: certificate has expired" Seems like a duplicate of the issue below, but ...
0
votes
0answers
17 views

How to structure multiple online sh scripts with dependencies

I'm working a lot with servers (Ubuntu/Django/Postgres/Nginx...) and I decided to create sh scripts that do my work automatically. The thing is that I want these scripts to be available online so I ...
0
votes
0answers
7 views

Integrating BitBucket Server with BitBucket Cloud

I'm trying to use BitBucket Server & BitBucket Cloud together, for git repositories. The self-hosted BitBucket Server instance is for use within an organisation, which should be a clone of the ...
0
votes
1answer
10 views

Deploying git clone into Windows 10 inetpub wwwroot

I have a brand new Windows 10 Professional installed, configuring for the first time. I have a local web presence that I like to deploy, typically from Git repository straight into whatever the ...
0
votes
1answer
19 views

Configure Git to store files on secondary hard drive

I'm installing Git on my home PC, Windows 10. I would like my sandbox to be on the C: drive. How do I set up Git to commit (and push) files to my D: drive? Should I set up Git to commit to the C: ...
0
votes
1answer
26 views

Cannot get the Public Key

I am taking a course which is instructing me to get a Public hey but I keep getting an error. Please explain it as simple as possible. Thank you in advance. I'm pasting what the errors below: ...
0
votes
1answer
11 views

Setting an alias in an ssh session without using bashrc/profile

How can I set an alias on a remote machine over SSH with local ssh config (not editing the remote bashrc/profile files). Background: I have a remote dev build machine that is shared with a few devs. ...
0
votes
1answer
30 views

Gitlab and Rsync updates servers files incorrectly

I don't know how necessarily say this correctly, as I simply am not sure what is happening. I've got a website that is being updated using gitlab ci. When attempting to push new code today I received ...
0
votes
0answers
15 views

Shift-arrow keys send ABCD in Git Bash on Windows 10

Yeah, so my git bash isn't working. It's probably some setting I tampered with and I don't remember what it is, and I don't know why Shift-left and Shift-right arrow don't select text but send D and C ...
1
vote
0answers
30 views

Git autocomplete not working on macOS Mojave 10.14.5

I've tried everything I've found on the internet but nothing seems to work. Things I've tried: Instruction in the git book for bash environments This medium post Tried with brew install bash-...
0
votes
1answer
16 views

git commands hang and finish after >1 minute in gitlab

Yesterday git commands (e.g. git pull) started to be super slow, when doing them against gitlab.com. They are working as usual when using them against github.com, so I assumed this is a problem with ...
1
vote
3answers
62 views

How can I continue working on my code from another computer?

I'm new to programming in general, and I'm currently working on a little game project in Python + pygame. One day I might want to work on my laptop, and the other day on my desktop. How could I make ...
0
votes
0answers
14 views

how to show git diffrent branch line in VSCode by Version History extention?

I face a funny problem. previously I remember that Git History extension used to draw a line for my branches but now it is not happening for me or on my friends PC. the top image shows the previous ...
0
votes
0answers
36 views

How to correct a merge in wrong branch?

I merged the Branch add-button in master instead to merge it in dev branch ! My question is, how to undo this merge and make master branch like before, then merge add-button to dev branch ?
0
votes
1answer
109 views

should I get rid of mutiple git installations, if so how? (OS X)

I hope the title isn't confusing, but I seem to have accumulated a couple of different versions of git in various directories over the years. I'd like to clean it all up and just have one version, and ...
0
votes
1answer
65 views

Git perminant cache password

Is there a way to use git config --global credential.helper without a timeout? i.e. have it never ask for my password again?
0
votes
1answer
125 views

`git commit` redirecting output

I'm writing a script that runs git commit. It requires /dev/stdout to be clean for piping/cmd substitution. I this case, $EDITOR is set to nvim. $ git commit > /path/to/somewhere hint: Waiting ...
0
votes
1answer
93 views

git-lfs on WSL blocked by Avast Free Antivirus

The following problem suddenly turned up on my Windows 10 Laptop: I have been using the Windows Subsystem for Linux for years, and I've used git-lfs (git large file storage) on the WSL for several ...
1
vote
0answers
26 views

Run issue with Lexikos AHKControl script?

I've been looking for this script, AHKControl by lexikos all over the place. The original release thread is on the old defunct forum, that may be why I cant see any download links there. I found a ...
0
votes
0answers
35 views

I am seeing warning: CRLF every time i execute a command in git bash for windows

Every time I run a shell script command in git bash for windows I see: warning: CRLF will be replaced by LF in bin/godot.sh. The file will have its original line endings in your working directory ...
0
votes
0answers
10 views

VS Code Git loses remote connection, shows only master branch with thousands of untracked changes

I was working in VS Code when I noticed it said I was on the 'master' branch instead of the feature branch I was working in. When I went to change to my branch, ALL the other branches were missing. VS ...
0
votes
0answers
11 views

Ignore local changes to PDF files during pull

Questions have been asked and answered on SO about discarding all local changes before a git pull. I am contributing to a shared repo hosting mainly TeX files and I am confronted with my colleagues ...
0
votes
1answer
28 views

I need help changing where GitBash looks for the SSH keys on my Windows 10 machine

I am on a Windows 10 VDI provided by a client. I have set up git and when I try to use GitBash I get an error when it is attempting to find the ssh keys. The client has their VDIs set up to place the ...
0
votes
0answers
18 views

How to enable git push over SSH in Squid proxy?

I have a weird problem. I have taken over maintenance (read: hey dumb arse think fast) and setup for some servers accessing the web through a gateway, which utilise Squid proxy. The users needed to ...
0
votes
1answer
33 views

Is it a good idea to use a virtual machine as an external facing code repository server

I've set up (installed git/configured certs (disabled password login)/synced repos) a debian box vm with a bridged adapter. Now it's running on Windows server 2016; inbound connections are blocked by ...
0
votes
0answers
18 views

Blocking certain git commands in macOS terminal

I'm using zsh on a macOS terminal. I would like to block certain commands, particularly git commands, to prevent myself from accidentally running them. For example, I would like to block my terminal ...
0
votes
0answers
18 views

git clone refuses to retrieve an EXE file, Windows 7

I'm trying to get more comfortable with git by having a repository on an NAS drive and using it to track changes and (hopefully) allow access from multiple computers in my home. So I enter git clone ...
0
votes
1answer
88 views

Windows: Terminal can't make use of PuTTY SSH keys

I have a problem when trying to use SSH through the terminal. I know that in Windows, you have to use PuTTY to ease this kind of connections, and it works fine when using it to connect remote servers ...
0
votes
1answer
9 views

How to properly work with mixed gerrit/github repositories?

I work with a git repo with lots of submodules. Some of them are on corporate github, others on Gerrit. Recently, I started having problems that plink didn't accept the server key anymore. So I ...
0
votes
1answer
104 views

Git-Bash stop script from running on startup

I used this script to set my Git Bash to start in the same folder no matter where I start it. However, I would like to not run this script on startup; i.e. revert to what happened on startup before I ...
0
votes
0answers
13 views

Git repos and subkey expiration

I sign all of my commits for all the git repositories I use. I also enforce pretty strict security and only keep subkeys on my computer (and my master safely stored elsewhere) and I have my subkeys ...
1
vote
1answer
20 views

Override default GPG key in a git repo

Context On my machine, I have set up a global git user in ~/.gitconfig, with my private details: [user] name = ebosi email = me@private-email.com signingkey = 0123456789ABCDEF However, ...
0
votes
1answer
96 views

git much slower when connected to VPN using SSH

I noticed the other day that interacting with gitlab.com is extremely slow when I'm connected to the VPN at my job. If I disconnect, it's very fast. Here's an example I just did of a git fetch first ...
0
votes
0answers
16 views

Ignore scanning of .gitignore in subdirectory using .gitignore in root

I have following directory structure. root ├──.gitinore ├── subdirectory ├──.gitignore <== Force avoid any rules by this and other .gitignore ├── subdirectory2 Is there a way ...
0
votes
0answers
24 views

Stuck in zsh command trying to load .bash_profile after switching from bash on MacOS

I've just switched from bash to zsh on MacOS and I wanted to load my current .bash_profile so I did: Added #!/bin/zsh to my .bash_profile and ran: % . ~/.bash_profile And I was stuck because of ...
-1
votes
1answer
32 views

How come I'm having trouble cp this file to another directory?

cp fanpage.html path/Desktop I am using this command to cp the fanpage.html file from my prework-about-me directory to my Desktop directory. When I run the exact command I posted here how come it ...
1
vote
1answer
79 views

Cygwin + git + ssh = unusable (high CPU usage due to Antimalware Service Executable)

Operations with git take very long time making git unusable. For example, when one does git pull (to update local repo to master repo) Antimalware Service Executable eats close to 90% of the CPU and ...
0
votes
0answers
7 views

git rebase not showing duplicates

I have this interesting ( in my head coz i dont get it ) thing i am trying to figure out with git( 2.20.1 on a mac) rebasing. I have a master, a develop, feature1, feature2 I have started with ...
0
votes
1answer
18 views

Why does GitHub limit the number of people that can be assigned to a task in certain situations?

I've used GitHub for years as in individual. I maintain a repository specifically for tracking issues for a team of designers/developers. Recently I setup an organization for my team and transferred ...
0
votes
0answers
45 views

Bash alias to delete merged git branches (on windows)

Trying to make an alias in Cmder on windows in order to erase my already merged branchs. I'm stuck with this : alias deletebranch=for /f %%i in ('git branch --merged=$1') do git branch -d %%i The ...
0
votes
0answers
38 views

Joining an existing git repository

Recently, I installed dual boot on my PC. Earlier I was working on an Android Studio Project on my original OS i.e. Windows. Now somehow (Luckily) the whole C: drive of windows shows up on my new dual ...
0
votes
0answers
10 views

How can I show git rebase steps in Zsh shell?

I'm on Linux Ubuntu 19.10 and I use ZSH shell with oh-my-zsh framework. When I'm in a rebase, I would like the number of steps to be displayed. How could I do that? What I have on ZSH: What I would ...
0
votes
0answers
28 views

git in mobaxterm - “/bin/busybox.exe less -R: /bin/busybox.exe: No such file or directory”

I would like to use git via mobaxterm I got following error message: > git log /bin/busybox.exe less -R: /bin/busybox.exe: No such file or directory I have found some workaround for it: > ...
0
votes
1answer
19 views

how to disable asking for ssh passkey when pushing / pulling to git

I'm using Github's ssh protocol to push and pull to and from my repo and whenever I do this it shows the following message Enter passphrase for key '/home/username/.ssh/id_rsa': I want to have an ...
0
votes
0answers
23 views

zsh hook delays the exit of commands

Suddenly I notice the every command exits with a delay(1 or 2 seconds) after running it in zsh with oh-my-zsh. I also observe the git command always is ran after the command I executed(such as ls) ...
0
votes
1answer
16 views

Transferring django app to server through scp?

Firstly I want to note that I am both beginner in deploying Django app and Linux overall. I saw that it's possible to transfer Django app to the server through SCP in one of Corey Schafer's videos ...
0
votes
0answers
64 views

Github API error “Problems parsing JSON” when using curl but works fine with Postman

I am trying to create a release using Github's API. My request works fine in Postman but no matter what I've tried it always fails with curl, including if I just translate my Postman request into ...
1
vote
1answer
22 views

Cannot acces a specific webpage from one computer, but I can access from different devices. All are connected to the same wifi network. Why?

I'm trying to access a git domain eg: "git.company.com" and I can access it from only one of the two computers. The domain is online and both computers have internet access. I need to be able to ...
0
votes
1answer
27 views

Does cloning a git repository create a connection to that source?

I'm trying to learn something about git and how to work with it. However I don't have a complete repository to work with. The site that explains all this stuff says "you can clone mine". But does that ...

1
2 3 4 5
49