Questions tagged [git]

Git is an open-source distributed version control system (DVCS). Use this tag for questions about Git usage and workflows. Do not use this tag for general programming questions that happen to involve a Git repository. Do not use this tag for GitHub/GitHub Actions questions that do not involve git usage; use [github] or [github-actions] instead. Do not use the [github] tag for Git-related issues just because a repository happens to be hosted on GitHub.

Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

git fetch does not fetch a remote branch

Some time ago I git fetch a branch from a remote repo. Let's call it origin/thebranch So I had that and also my local thebranch I checkout a new branch on top of that and did my work Later I push that ...
  • 5,967
0 votes
0 answers
14 views

How do show git conflicts as diff using VsCode?

When I use VSCode all is good till I try to diff a conflict in a rebase. In IJ I would just right click > git > show conflicts. I can't find a equivalent VSCode extension, can someone point me ...
  • 20.9k
1 vote
0 answers
11 views

Error using install_git: Unsupported URL protocol

Using R, I am trying to install a local version of a cloned repo, using the following commands: library(devtools) install_git("/home/my_local_url/.git", ref = "mindepth_order") ...
  • 821
-2 votes
0 answers
8 views

How to add files to a github wiki page?

I was trying to edit a wiki file and add more files to it. At some point I need to upload a file to the wiki. What I need to add should be similar to below. [somename.pdf] (Files/Theses/somename.pdf) ...
0 votes
0 answers
10 views

Is there a way to ignore a specific line in a file using `.gitattributes`? [duplicate]

I run a private Minecraft server on my home server and like to keep all of the config files checked into a local git repo to make it easy to figure out what config values have changed and when. One ...
0 votes
0 answers
16 views

file that I removed from github repository keeps showing up in pull requests

For the longest time, I had two classes of system-generated files that kept showing up in my pull requests: cache files test case properties file The latter was in .gitignore It turns out that I had ...
  • 3,595
0 votes
0 answers
9 views

Is it possible to specify the strategy option, for pulls (--rebase) on a (local) repository?

I use a program that is stored as github reposity on the user (my) machine; it updates itself periodically, by just pulling (with rebase) the remote repository. I made a change that creates conflicts ...
  • 4,903
0 votes
0 answers
21 views

Intellij IDEA: Git plugin not working anymore with error "the git process exited with the code 139"

I'm suddenly not able to use the bundled Intellij IDEA git plugin. In settings I can see this error: `the git process exited with the code 139. Git is working fine in the editor terminal. My OS is ...
  • 5,568
-3 votes
1 answer
29 views

Git is pushing other people's commit in my branch [closed]

So the thing is I create a branch do my development changes there then push it Then my TL asks me to rebase my branch with develop branch Then I do rebase on develop branch using intellij idea's UI ...
1 vote
1 answer
53 views

Difference between ssh:// and [email protected] version of git connection string

I am trying to use the git server docker image to set up a local git server. My docker-compose config is this: git-server: image: jkarlos/git-server-docker restart: always ports: - ...
  • 23
-2 votes
1 answer
19 views

Git commands to uncommit, un stage changes and remove the changes [closed]

I checkout between multiple local repo, since I work on multiple projects. Before every check out I need to commit, which means I'm unable to keep my last commit msg same as that on git cloud repo. I ...
1 vote
1 answer
42 views

git reset --hard results in a diverged branch [duplicate]

I'm working on a branch called Feature. I pushed an empty commit 'New' (Commit 1) to indicate the creation of my branch (this is the standard in my company). I then edited an important file and ...
0 votes
0 answers
15 views

How to solve $SSH_ASKPASS error in IntelliJ (Win 10 x64)

I use IntelliJ in Windows 10 x64. I can see all our GitHub repos there, but cloning fails: CreateProcessW failed error:193 ssh_askpass: posix_spawnp: Unknown error [email protected]: Permission denied (...
  • 1
0 votes
0 answers
16 views

Old user name in git – despite successful change of global git config – how to change it? [duplicate]

I changed (globally) my git user name and email. When I check it with git config --list, I get a new name. But over the command line, before computer name and path, I see the old user name. I had ...
1 vote
2 answers
30 views

Why am I suddenly not having push permission?

I use git remote set-url origin https://[email protected]/QuaCau-TheSphere/LandofSpheres.git But why can't I push? git push remote: Permission to QuaCau-TheSphere/LandofSpheres.git denied to ...
  • 1,501

15 30 50 per page
1
2 3 4 5
9700