git Questions

7

If I do git checkout my-super-branch git tells me: error: Your local changes to the following files would be overwritten by checkout: somedir/somefile.py Please, commit your changes or stash them...
Periwig asked 26/1, 2018 at 8:55

6

Solved

Hi i am trying to link up my a java group project from github to intellij. However i keep getting this issue with Git, i download it but then i try again and it asks me to download it again? I've ...
Madore asked 11/3, 2021 at 12:57

3

Solved

It all started when I decided to figure out why the project I'm working on weighs so much. I've run the following script: git rev-list --objects --all \ | git cat-file --batch-check='%(objecttype) ...
git
Jackofalltrades asked 16/1, 2019 at 20:42

5

Solved

I'd like to improve my current aliases, most of them work over a branch. Is there a way to refer to the current branch in a git alias so I don't need to pass it each time? like this one: git conf...
git
Cambridge asked 27/2, 2013 at 12:35

3

Solved

My repository belongs to an organization I created. I want to prevent mistakes during pull requests. For example, accidentally allowing the master branch to be merged from a branch other than devel...
Paederast asked 29/9, 2017 at 19:38

4

Solved

Whenever I switch between my branch (Li) to the master branch I get the following message: Deletion of directory 'sys/console/api' failed. Should I try again? (y/n) Anyone knows how do I get r...
Pileus asked 12/8, 2012 at 16:7

4

Solved

I am working on a project which I cloned from a remote repository hosted on GitLab. I made some changes to the project, but I didn’t create any branch and want to now start work on some other new f...
Vaporization asked 31/3, 2021 at 6:49

2

Using gitkraken with a gitflow-enabled repository and trying to figure out how to finish a feature branch in such a way so as to also delete from remote that feature branch if it exists. When you u...
Landlord asked 2/3, 2017 at 17:38

2

I have a large file with complex history (many commits from many authors). Refactoring it would suppose to split it in multiple small files, BUT, i need to keep history. To fix the ideas, let's say...
git
Galahad asked 16/9, 2021 at 14:41

5

Solved

What the files I need add to .gitignore in Flask application? https://www.gitignore.io/ - I'm usually here to look at examples. But now I found no examples. Why? Is it a feature of Flask? Django ha...
Brinker asked 27/2, 2018 at 10:20

2

Solved

tl;dr - I want to override OhMyZsh's Git aliases with multi-line aliases / functions. I'm trying to make the switch over from bash to zsh and migrate my aliases. I'm able to override Git aliases f...
Buskined asked 8/4, 2020 at 20:41

9

Solved

I am trying to clone a remote repository on Windows, but when I did this: git clone [email protected]:organization/xxx.git I got this error: error: cannot run ssh: No such file or directory f...
Hafner asked 24/9, 2012 at 17:9

2

Solved

GitHub allows other people (or fake accounts, spam bots etc) to add you as a collaborateur to a repo without any approval by yourself. This leads to annoying long repo list full of semi-spam (unkno...
Communard asked 6/10, 2014 at 20:22

3

Solved

Confluence supports displaying PlantUML diagrams using for example PlantUML for Confluence macro. Basically, one copy-pastes a source code of the UML diagram and it's correctly rendered in a page. ...
Brutus asked 30/11, 2020 at 15:27

2

I'm having trouble finding where is the Pull the request feature of Google Cloud Repository. I need it to setup the project that I'm currently working on for other developers, by having a code revi...
Vicenary asked 12/3, 2020 at 5:57

8

Solved

remote: Permission to MYUSERNAME/project.git denied to OLD-USER-NAME I have 2 GitHub users. One for personal use and one for work use. MYUSERNAME will be my personal one for this example and OLD-U...
Verena asked 24/12, 2013 at 22:23

3

Solved

Some context Long story short: I am trying to run jest --changedSince=master when I open up a new Pull Request. The jest changedSince flag runs git diff master...HEAD in the background. This result...
Salenasalene asked 22/11, 2020 at 18:29

11

Solved

I have just setup git with bit bucket for my windows machine. Git pull works properly, where as git push fails with below error. $ git push Counting objects: 10, done. Delta compression using up ...
Cottage asked 27/6, 2017 at 12:23

7

We use Github for source control in our organization. Multiple developers continuously merge their changes to remote source repository. In my case I cloned the repository when two weeks back and th...
Andersonandert asked 12/11, 2012 at 3:42

3

Solved

Git status returns different results if I run it on my Linux system and my Windows10 laptop. The original directory was started on the Linux machine (running RedHat 6.4). I got tired of editing al...
Posterior asked 28/1, 2019 at 21:11

3

I was doing a git revert (of a previous revert), which caused some merge conflicts. After resolving the conflicts my pre-commit hook threw some code sniffer issues. Since these code sniffer notice...
git
Materfamilias asked 14/9, 2015 at 10:6

4

In my project, im using a third party library. I had git cloned this lib in my project, and then had done git submodule init and git submodule update in the lib folder. I pushed my main project to ...
Daley asked 25/11, 2012 at 13:49

5

Solved

I am getting the following error while pushing the commit $ git push origin master fatal: unable to create 'refs/heads/master.lock': File exists fatal: The remote end hung up unexpectedly I thou...
Mccarthy asked 14/12, 2011 at 6:0

13

Solved

I was able to pull and/or push updated from my AWS CodeCommit repository until I reinstalled aws-cli. I tried all the suggested solutions I could find but nothing seems to work. I am working on Ubu...
Espousal asked 13/5, 2022 at 16:2

31

Solved

I've just tried to install Flutter on Linux and when I try to run a flutter command (flutter doctor), I'm getting Error: Unable to find git in your PATH. How can I solve this?
Macfadyn asked 10/7, 2018 at 10:56

© 2022 - 2024 — McMap. All rights reserved.