Category "git"

Makefile Fatal Error When Installing Git through TarBall(No such file or directory)

I was attempting to install Git through it's tarball, and I came across a few missing file errors. How might I fix this? /bin/sh: 1: curl-config: not found GIT

Fatal: could not read username for 'https //github.com' device not configured

I am trying to push code to github with SublimeGit plugin, but something weird occurs to me. Pushing to https://github.com/username/username.github.io.git

Android studio Gradle Tab

I've started to work on an android project that has many Gradle tasks. After cloning the project from git, there is no Gradle tab in Android Studio!

How can I fix git commit error "Waiting for your editor to close the file..." with VS Code?

I'm trying just git commit and Git is giving this message: hint: Waiting for your editor to close the file... /c/Users/AGT/AppData/Local/Programs/Microsof

How to exclude some directories from output of git status without having to modify the working tree (e.g. _not_ modifying .gitignore)

In my working tree there's a directory with several modified files that I temporarily would like to not see when I do git status. But this should ideally be don

Pushing a new branch in GIT

I am using GIT, and I have created a new branch (named foo) on my local (one that doesn't exist on the repository). Now, I have made some changes to my original

github auto authentication with personal access tokens doesn't work

I have followed the explanation here for setting up auto authentication of github on my CLI (on Linux, Ubuntu). In particular, I executed the command given here

Find out which branch has the most recent version of a certain file

Say I have a file in a repo and I want to find out which branch has the most recent version of the file, let's say the filepath is 'foo'. Let's assume the stat

Get PR number from Github API push event

I'm trying to create one or many comments in one or many files after a commit. The way I'm doing the POST request now is through the PR's number, passing the b

Get PR number from Github API push event

I'm trying to create one or many comments in one or many files after a commit. The way I'm doing the POST request now is through the PR's number, passing the b

Why doesn't git repo checkout the branch specified?

I've just started a new job where they're using git-repo. There's an XML manifest file that contains all the different repos that looks like: <project p

git pull multiple repositories

I have a question regrading intertwined repositories. I have a repo, lets call it common_repo. common_repo holds code which is relevant to most of my other re

How do I remove all stale branches from Github?

We have a lot of branches that are inactive (the newest is 7 months old, the oldest is two years ago). I'd like to remove all of those branches in bulk from the

LF will be replaced by CRLF in git - What is that and is it important? [duplicate]

When I create a new rails application I'm seeing a warning in git about LF replacement. I do git init git add . and then boom! I see

Strange GIT behaviour in VS2022 - Shows error but still completes action

I'm having a strange problem with Git i VS2022 and VS2019. When I Push, fetch or pulls I get a error saying "failed to fetch from the remote repository. see the

When I Git commit, cmd.exe not found

Quite new to git, so if i made any obvious mistakes I am sorry. When I do git commit, it prints the following message: hint: Waiting for your editor to close t

Unable to perform "git clone" on local system using Ansible

I am trying to clone a git repo on my local system. I have done this manually and it works fine, but when I try to do it via Ansible, it doesn't work out Here i

Github Desktop - Not showing changes

Basically I changed a few files in Notepad++ but it wont show up in Github for Windows. I have tried reinstalling, Restarting pc and constantly re-cloning in

What is the fastest way to transfer all of my GitHub repositories to GitLab?

I'm looking to move entirely away from GitHub to GitLab as easily as possible.

Why is repo sync not checking out the branch I had specified in the manifest file?

Suppose I have the following manifest file for the repo tool (MCVE script is included at the end of this post): <?xml version="1.0" encoding="UTF-8"?> <