Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
25 views

I'm trying to log in to my GitHub account from the terminal using my GitHub username and password, but GitHub no longer accepts account passwords. I generated a Personal Access Token (PAT), but when I ...
Fardeen Rizvi's user avatar
-4 votes
1 answer
71 views

git(1) uses one representation when storing source code (not binary) by default which IIRC is utf-8 (no working-tree-encoding). Is this the same default as in Go? I tried comparing to Git but have ...
hakre's user avatar
  • 200k
0 votes
0 answers
47 views

When running git push origin --force on LLVM with full depth, Enumerating objects: 6521470, done. Counting objects: 100% (6521470/6521470), done. Delta compression using up to 12 threads Compressing ...
Snoopy's user avatar
  • 48
-7 votes
0 answers
61 views

I've been working on some data evaluation using VS Code and Jupyter today. I saved everything, then closed VS Code. After that I canceled a "git clone" command using Ctrl+C that was there ...
Berni's user avatar
  • 1
-4 votes
1 answer
49 views

I committed a project to my local Git repository and pushed it to GitHub. I then amended my local commit and tried to push the amended commit to GitHub. That gave me an error: hint: Updates were ...
digitig's user avatar
  • 2,174
Advice
0 votes
2 replies
49 views

I have been developing code for hobby projects across ESP8266, Arduino UNO, Python etc. for past 5+ years. All this code is stored in either local drives of my computer, old hard disks or sent to ...
Sandrocottus's user avatar
0 votes
1 answer
57 views

Let's say you have the following setup in gitlab: Gitlab Group Developments, of which there is a Subgroup Subgroup, which in turn contains Template project X which provides a general structure for ...
DevelJoe's user avatar
  • 1,552
Best practices
0 votes
2 replies
49 views

I'm just wondering what the best way is to deal with MSIX signing keys in a git repo. My project keeps a hash of the signing key in the project files, which means anyone who clones the repository will ...
Josh Noe's user avatar
2 votes
1 answer
61 views

I have a folder structure in a Git Repo like the following: . └── top_level/ ├── invalid_file_names/ │ ├── <?>.txt │ └── <<>>?.txt └── valid_files/ ├── ...
ng.newbie's user avatar
  • 3,332
1 vote
1 answer
81 views

I have been tasked with moving various projects from SVN to GIT. This is not code that I have ever worked on so my name is not in the git log. Some code has moved to GIT no problem but other projects ...
tj26's user avatar
  • 403
-1 votes
0 answers
53 views

I get this error: fatal: Unable to create 'C:/Users/HP/.git/index.lock': File exists There is no other Git process running. Is it safe to delete the index.lock file manually?
Karan Singwal's user avatar
Advice
0 votes
1 replies
63 views

git rebase --committer-date-is-author-date --interactive remote/branch preserves (or adjusts) the CommitDate: value. Both CommitDate: and AuthorDate: could also be adjusted with the GIT_COMMITTER_DATE ...
olh's user avatar
  • 328
Best practices
1 vote
3 replies
61 views

First of all, yes, I have read all topics here related to my question. But other questions are based on changes made locally and using command line. I'm asking about this specific situation: working ...
OSWorX's user avatar
  • 138
Advice
0 votes
2 replies
43 views

For testing on a VM, I made a different favicon file so I can immediately tell in the browser which tab is the VM vs. the public server. But of course git considers it an uncommitted change - I'd like ...
OsakaWebbie's user avatar
Best practices
1 vote
2 replies
58 views

I prefer using the Git backend to Overleaf to work locally on my own computer and push periodically. I've found that it is difficult to work with other online editors when we are editing at the same ...
villaa's user avatar
  • 1,269
-4 votes
1 answer
61 views

I am building a Habit Tracker application using React (Vite) and Tailwind CSS, deployed on Vercel. The Problem: I recently updated a component (HabitList.tsx) to fix a UI issue where an input field ...
Ompal Yadav's user avatar
Best practices
4 votes
3 replies
62 views

I have been wondering how to version Wordpress projects correctly. Versioning the entire Wordpress directory? I'd be versionning a lot of code that's not mine (Wordpress core, theme(s), plugins...) ...
Lily Bergonzat's user avatar
-1 votes
1 answer
70 views

Branch x in my git repository contains the undesired build files. It happened because I do not separate build directory from the source code and I git add-ed the build files. The main branch is in a ...
nougako's user avatar
  • 248
1 vote
1 answer
112 views

I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I ...
FLKR's user avatar
  • 77
2 votes
1 answer
47 views

I have a project where I have checked out the main branch, which has 2 submodules: vendor/foo and vendor/bar. If I create a worktree for a feature branch with git worktree add ../feature feature, this ...
krzysz00's user avatar
  • 2,153
4 votes
3 answers
105 views

I am running into some weird merge conflict issues even though I am the only one working on the repository and have only made linear commits. I have these branches: main feature-A (based off of main) ...
Nermin's user avatar
  • 1,140
1 vote
2 answers
64 views

I have a visual studio project which uses git. I don't normally use VS for my work - this is a side project - I normally work from the command line and I'm a git novice anyway. I must've done ...
user2871239's user avatar
  • 1,632
-4 votes
1 answer
83 views

I had new files I had not committed before running git stash thinking they would be saved along with the modified files but they were gone after I returned to the branch and did a stash pop. Are they ...
Abe's user avatar
  • 125
0 votes
0 answers
43 views

I am building a full-stack project where: Backend: ASP.NET Core Web API (created in Visual Studio 2022) Frontend: Angular project (created separately in VS Code) Git: I initialized Git from Visual ...
Suparna Dhara's user avatar
Best practices
0 votes
3 replies
48 views

i'm newbie in nginx and proxy server. We have a problem about googlesource 429 Error, caused by many requests and because of bandwidth, we took a long time to get googlesource. We reviewed to make ...
SangHyuk Kwon's user avatar
0 votes
1 answer
45 views

I'm doing something with git-filter-repo that is like the convert-svnexternals script here: https://github.com/newren/git-filter-repo/blob/main/contrib/filter-repo-demos/convert-svnexternals In that ...
Dennis's user avatar
  • 2,624
1 vote
1 answer
96 views

pre-existing questions are asking about commands that exit with status code 0 -- my command does not exit. Here is the super verbose output obtained via GIT_TRACE=true \ GIT_CURL_VERBOSE=true \ ...
NullVoxPopuli's user avatar
Advice
0 votes
8 replies
122 views

I’m building a file versioning system for my product ThinkNCollab, which includes both a Task Management System and an advanced File Versioning System. While designing the CLI for the versioning ...
TechieeRaman's user avatar
-2 votes
2 answers
104 views

There is following Git branch setup with long living release branches: develop branch current release branch based on develop somewhen in the past. Release is very soon. a minor release shall be ...
Tom1632125's user avatar
1 vote
4 answers
98 views

On Github there is a promising repository that hasn't been maintained for years. So there are pull requests from other users that have been ignored. I have forked the repo. Is there a way to get the ...
Bret Hess's user avatar
  • 510
Best practices
0 votes
4 replies
92 views

The problem is that committing to the main branch every day makes the history messy, but commits made in other branches do not appear in the GitHub contribution graph (the green boxes). What can I do ...
omar ak's user avatar
Advice
0 votes
3 replies
76 views

I need to see where I have committed work, but not yet pushed it. I would really prefer something similar to git status which shows a readable summary. I don't want to be doing git log, looking at ...
intrigued_66's user avatar
  • 17.6k
-6 votes
0 answers
79 views

the content is generated by unplugin-vue-router, nothing changed but git says it changed. if submit, it will report nothing changed original content is \u203C\uFE0F, but when vite build run, it will ...
Bill Billy's user avatar
Advice
1 vote
3 replies
90 views

There are several questions on stack overflow asking how to get the current branch name on GitLab. The interwebz are full of countless variations of that same question. The answer that is always ...
Mike Nakis's user avatar
1 vote
1 answer
73 views

In Windows 11 (even in 10) was written a lot of documentation through a hierarchy of .adoc files and git was used for track controls. Well the project directory was shared to other users where they ...
Manuel Jordan's user avatar
1 vote
1 answer
115 views

I was having a look at the history of my main branch in Git today, and I noticed that, despite the fact that I've configured branch protection of the main branch, and only allowed merging squash ...
Annio's user avatar
  • 133
Best practices
0 votes
6 replies
56 views

the title is somewhat difficult i try to explain what i want the input from you all. My current practice from a feature/bug development towards the codes journey to the production is following I get ...
FlorianD's user avatar
  • 113
0 votes
0 answers
56 views

I’m an intern working in DevSecOps. Our repo uses branches: test, dev, preprod, prod. I’ve set up scans (SAST, container scan , DAST ) triggered from the test branch. But the dev team often pushes ...
asmr gig's user avatar
0 votes
0 answers
95 views

Our company migrated our source code from a local gittea server to Github.com. I have orchestrated the entire migration with 99% succes. I made manuals, scripts and I moved the repositories. We have ...
bas knippels's user avatar
2 votes
1 answer
71 views

Say I have four commits A, B, C and D, with A being an ancestor of B and C being an ancestor of D. I now want to verify that the changes from A to B are the same as the changes from C to D (or show ...
Caulder's user avatar
  • 459
Best practices
1 vote
3 replies
81 views

I have a project named sample which have 2 submodules sampleA and sampleB. I also have another git repo named Example which also refers to same submodule sampleA and sampleB. When I change something ...
mariya cherian's user avatar
2 votes
1 answer
85 views

I created the following test repository (you can copy the commands): $ git init repo && cd repo $ touch file $ git add . && git commit -m "Initial commit" [main (root-commit) ...
dassd's user avatar
  • 213
-2 votes
1 answer
85 views

I need to switch from the master branch to branch_a, and this branch_a needs to be a detached head in deps/tests. I am doing this by git fetch origin git checkout origin/branch_a The problem is that ...
Rainydays123's user avatar
2 votes
1 answer
59 views

When you inherit a code base where gitignore has not been used then the first thing you want to do is add a standard gitignore file like this one Standard Visual Studio gitignore file for example. But ...
Sigmundur's user avatar
  • 949
0 votes
1 answer
70 views

if you change this file: div { max-width: 50%; max-height: 50%; } into this: div { max-width: 100%; } git diff --word-diff will print: div { max-...
darkdiatel's user avatar
0 votes
1 answer
53 views

If I watch a directory that has a .git inside of it and run fs.watch, does that listen to changes within .git folder? For example if I use: fs.watch(dir, { recursive: true }
Yousaf Wazir's user avatar
1 vote
0 answers
90 views

I noticed that git lfs operations (push or pull but especially push) with GitHub keep getting stuck running git-lfs-transfer. This is slowing down all of my git operations which call git lfs via hooks....
sciencectn's user avatar
  • 1,571
-3 votes
0 answers
39 views

Issue: Some code containing a Client ID and Client Secret was accidentally pushed to the integration branch. Although those changes have now been reverted, the issue is that multiple branches had ...
Yashika Chandra's user avatar
-2 votes
1 answer
79 views

When trying to rebuild a CMake project as a different Linux user, it generates Operation not permitted despite having read and write access through group permissions. The only way to solve it is to ...
James Easton's user avatar
Advice
1 vote
3 replies
77 views

One really common issue I encounter is that Git is purely text-based, and doesn't know anything about the language of the file it's tracking. Most of my time spent resolving merge conflicts is fixing ...
ABadHaiku's user avatar
  • 119

1
2 3 4 5
3075