Skip to main content

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.

0 votes
0 answers
16 views

How can I create, update separate changelog.md for multiple .csproj projects in a single repository?

There is 1 shared repository (contains .git), pp_shared_lib, which has several projects added to it. It is not possible to separate projects into repositories separate from pp_shared_lib. What are the ...
Ксения Юдина's user avatar
0 votes
1 answer
13 views

Github login by every difference path

I am using Window 11, and use Tortoisegit,and try to use multi github account in my Window for multi path of github. Git clone will require username/passwordToken by every difference path.
Trần Hữu Hiền's user avatar
0 votes
1 answer
27 views

Git global and in-repo configuration problem

In my PC, my git name and email is globally set to user1 and [email protected]. But in my specific git repo, I don't want to use that account. Instead i want to use another account. I used this command: ...
C9_HP's user avatar
  • 59
0 votes
1 answer
18 views

Git: Safely merge overlapping directories across repositories

My team and I work on a large repository with some core plugins and multiple independent floating plugin repositories. Recently, a plugin has been promoted to the main repository with some changes, ...
Exalted Toast's user avatar
0 votes
0 answers
13 views

Husky commit-message hook not triggering

I'm trying to use commitlint lint commit messages against the Conventional Commit standard. Here is my relatively basic commitlint.config.js file: export default { extends: ["@commitlint/config-...
Ethan's user avatar
  • 749
0 votes
1 answer
36 views

Why do I get 'not a git repository (or any of the parent directories): .git' error after initializing a Git repo and running commands?

First execute git init, then execute some commands, which may result in the error not a git repository (or any of the parent directories):. git after the first or four or five commands. $ git -v git ...
欲穷三千界's user avatar
0 votes
1 answer
16 views

Syfmony new Project directory . is not empty error

After cloning an existing git repo to install a new fresh Symfony I got the error Project directory not empty due to the existing .git folder I suspect. What is the recommended best practices/steps ...
adam314315's user avatar
-1 votes
0 answers
21 views

Created a github classic PAT but still cannot clone repo with it

I type this command in powershell git clone https://github.com/myusername/myrepo.git I entered my username and PAT I created today so it's valid It says : Logon failed, use ctrl+c to cancel basic ...
user310291's user avatar
  • 37.8k
1 vote
1 answer
26 views

List all files of specific type that are under version control in git

I have dozens of dozens of (large) git repositories. Clearly, they should be "clean", i.e., do not contain undesired data such as temporary files (say, .aux in case of a LaTeX project, for ...
Prof.Chaos's user avatar
-3 votes
0 answers
18 views

Update a migrated git repo taken from TFS

Months ago I've done a big migration of a git repo, now some user made change on TFS even if they were told not to do... is there a way I can update from a specific changeset all the branches in git ...
advapi's user avatar
  • 3,817
-2 votes
0 answers
25 views

Challenges while trying to conda repair [duplicate]

xxxxx@xxxxxMINGW64 ~/Notebooks $ conda repair Traceback (most recent call last): File "C:\Users\xxxxx\anaconda3\Lib\site-packages\conda\exception_handler.py", line 18, in call return func(*...
MaxM's user avatar
  • 1
0 votes
3 answers
61 views

Excludung edited file in git commit and staging

Sometimes I need to exclude a edited file. I mean, you need to have it in the repository but for instance you have some local development value which you do not want to commit and push. Most of the ...
Ozan BAYRAM's user avatar
  • 2,880
0 votes
1 answer
33 views

How do I set up github personal access tokens to access a third party repository?

I have an old repository that is not owned by me, that I have access to. I haven't used it since before personal access tokens. Nor has the owner of the repository, so my access should still be there. ...
ThoughtfulHacking's user avatar
0 votes
0 answers
12 views

Review PR in Android Studio and cmd+click around, it is unclear which version of the file is presented

I'm trying to use the PR review option in AS for the first time. I click on a PR #217 and look at one of the files. [![enter image description here][1]][1] I then cmd+click on a param to see usages ...
Alon's user avatar
  • 693
0 votes
0 answers
34 views

Getting ` warning: refname 'HEAD' is ambiguous.` after `git clone --bare` and `git worktree add`

I'm lookng into git worktrees b/c I want to work on multiple branches at once. Did the following setup # Created new E:\ partion cd /d E: mkdir repos cd repos git clone --bare <repository-url>/...
joseville's user avatar
  • 841

15 30 50 per page
1
2 3 4 5
10198